rust/tests/ui/lint/unknown-lints-at-crate-leve...

8 lines
129 B
Rust

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