blob: fb2395cf90be357c69b22d4749f4b6a113ab4af4 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#[warn(clippy::blacklisted_name)]
fn main() {
// `foo` is part of the default configuration
let foo = "bar";
// `ducks` was unrightfully blacklisted
let ducks = ["quack", "quack"];
// `fox` is okay
let fox = ["what", "does", "the", "fox", "say", "?"];
}
|