The author lint is not an internal lint, and should also be enabled, when Clippy is distributed through rustup. This moves the author lint test cases back to tests/ui.
8 lines
124 B
Rust
8 lines
124 B
Rust
#![feature(stmt_expr_attributes)]
|
|
|
|
fn main() {
|
|
#[clippy::author]
|
|
for i in 0..1 {
|
|
println!("{}", i);
|
|
}
|
|
}
|