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

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

fn main() { }