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

9 lines
124 B
Rust
Raw Normal View History

2023-10-13 08:12:41 +00:00
#![feature(stmt_expr_attributes)]
fn main() {
#[clippy::author]
for i in 0..1 {
println!("{}", i);
}
}