blob: f5059793eddf73293fe870e8908713175aaecf03 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
//@ 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() {}
|