rust/tests/ui/lint/bad-lint-cap.rs
2024-02-16 20:02:50 +00:00

5 lines
96 B
Rust

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