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