rust/tests/ui/lint/bad-lint-cap.rs

5 lines
96 B
Rust

//@ compile-flags: --cap-lints test
//@ error-pattern: unknown lint level: `test`
fn main() {}