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.
4 lines
71 B
Rust
4 lines
71 B
Rust
fn main() {
|
|
#[clippy::author]
|
|
let _ = ::std::cmp::min(3, 4);
|
|
}
|