Sign in
fuchsia
/
third_party
/
rust
/
eda6dc928323fcd0ac1b51cea1aa79ab17e8519d
/
.
/
src
/
tools
/
clippy
/
tests
/
ui
/
methods_unfixable.rs
blob: c19a769f79745b3ca016c579dfd99704506ce728 [
file
] [
log
] [
blame
]
#![
warn
(
clippy
::
filter_next
)]
//@no-rustfix
fn
main
()
{
issue10029
();
}
pub
fn
issue10029
()
{
let
iter
=
(
0.
.
10
);
let
_
=
iter
.
filter
(|
_
|
true
).
next
();
//~^ filter_next
}