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

10 lines
129 B
Rust

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