rust/tests/ui/tool-attributes/tool_lints-fail.rs

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() {}