rust/tests/ui/lint-unknown-lints-at-crate-level.rs
2023-01-11 09:32:08 +00:00

8 lines
127 B
Rust

// run-pass
// compile-flags: -D warnings -D unknown-lints
#![allow(unknown_lints)]
#![allow(random_lint_name)]
fn main() {}