rust/tests/ui/tool_lints-fail.rs
2023-01-11 09:32:08 +00:00

9 lines
139 B
Rust

// Don't allow tool_lints, which aren't scoped
#![deny(unknown_lints)]
#![deny(clippy)] //~ ERROR: unknown lint: `clippy`
fn main() {}