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

10 lines
129 B
Rust

//@ check-pass
//@ compile-flags: --cap-lints warn
#![warn(unused)]
#![deny(warnings)]
use std::option; //~ WARN
fn main() {}