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.
5 lines
79 B
Rust
5 lines
79 B
Rust
#[allow(clippy::no_effect)]
|
|
fn main() {
|
|
#[clippy::author]
|
|
[1_u8; 5];
|
|
}
|