summaryrefslogtreecommitdiffstats
path: root/src/test/ui/lint/lint-forbid-attr.rs
blob: 6d4cfd8342420f351b05f3fdc94a09652c8d67f1 (plain)
1
2
3
4
5
6
7
#![forbid(deprecated)]

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