summaryrefslogtreecommitdiffstats
path: root/src/test/ui/lint/lint-forbid-cmdline.rs
blob: 5246ccb57a67a08d77c04687b5fe4aafe740cbac (plain)
1
2
3
4
5
6
// compile-flags: -F deprecated

#[allow(deprecated)] //~ ERROR allow(deprecated) incompatible
                     //~| ERROR allow(deprecated) incompatible
fn main() {
}