mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-05 09:23:31 +00:00
12 lines
275 B
Rust
12 lines
275 B
Rust
//@ compile-flags:-D bogus
|
|
//@ check-pass
|
|
|
|
//@ error-pattern:requested on the command line with `-D bogus`
|
|
//@ error-pattern:`#[warn(unknown_lints)]` on by default
|
|
|
|
fn main() {}
|
|
|
|
//~? WARN unknown lint: `bogus`
|
|
//~? WARN unknown lint: `bogus`
|
|
//~? WARN unknown lint: `bogus`
|