blob: b56471a756d1e1f145dfbaa00e99412f22aa4af1 [file] [log] [blame]
// check-pass
// compile-args: --cap-lints=warn -Fwarnings
// This checks that the forbid attribute checking is ignored when the forbidden
// lint is capped.
#![forbid(warnings)]
#![allow(unused)]
#[allow(unused)]
mod bar {
fn bar() {}
}
fn main() {}