rust/tests/ui/lint-unknown-lints-at-crate-level.rs
2024-02-16 20:02:50 +00:00

8 lines
129 B
Rust

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