rust/tests/ui/lint/lint-forbid-attr.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
143 B
Rust
Raw Normal View History

2015-01-16 12:25:13 -06:00
#![forbid(deprecated)]
2014-06-18 15:46:48 -05:00
#[allow(deprecated)]
//~^ ERROR allow(deprecated) incompatible
//~| ERROR allow(deprecated) incompatible
2014-06-18 15:46:48 -05:00
fn main() {
}