rust-clippy/tests/ui/author/for_loop.rs

9 lines
112 B
Rust
Raw Normal View History

2018-05-19 12:04:57 +00:00
#![feature(tool_attributes)]
fn main() {
2018-05-19 12:04:57 +00:00
#[clippy::author]
for y in 0..10 {
let z = y;
}
}