rust/tests/ui/tool_lints-fail.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
139 B
Rust
Raw Normal View History

2018-07-03 05:23:20 -05:00
// Don't allow tool_lints, which aren't scoped
2018-07-03 05:23:20 -05:00
#![deny(unknown_lints)]
#![deny(clippy)] //~ ERROR: unknown lint: `clippy`
fn main() {}