summaryrefslogtreecommitdiffstats
path: root/tests/ui/lint/lint-unknown-lint-cmdline.rs
blob: 7f3f55fbad0f44be5281033e9afda6d9b006f232 (plain)
1
2
3
4
5
6
7
8
9
// compile-flags:-D bogus -D dead_cod

// error-pattern:unknown lint: `bogus`
// error-pattern:requested on the command line with `-D bogus`
// error-pattern:unknown lint: `dead_cod`
// error-pattern:requested on the command line with `-D dead_cod`
// error-pattern:did you mean: `dead_code`

fn main() { }