rust/tests/ui/author/repeat.rs
Philipp Krones 03daf7ccb2
Fix author lint and move it back to tests/ui
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.
2024-11-07 17:22:32 +01:00

5 lines
79 B
Rust

#[allow(clippy::no_effect)]
fn main() {
#[clippy::author]
[1_u8; 5];
}