rust/tests/ui/error-codes/E0602.rs

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

12 lines
293 B
Rust
Raw Normal View History

2017-06-01 23:25:13 +02:00
//@ compile-flags:-D bogus
//@ check-pass
//@ dont-require-annotations: NOTE
2017-06-01 23:25:13 +02:00
fn main() {}
//~? WARN unknown lint: `bogus`
//~? WARN unknown lint: `bogus`
//~? WARN unknown lint: `bogus`
//~? NOTE requested on the command line with `-D bogus`
//~? NOTE `#[warn(unknown_lints)]` on by default