Before this change, adding a lint was a difficult matter because it always had some overhead involved. This was because all lints would run, no matter their default level, or if the user had #![allow]ed them. This PR changes that
7 lines
94 B
Rust
7 lines
94 B
Rust
#![warn(clippy::author)]
|
|
|
|
fn main() {
|
|
#[clippy::author]
|
|
let x: char = 0x45 as char;
|
|
}
|