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-17 02:25:13 +08:00
#![forbid(deprecated)]
2014-06-19 04:46:48 +08:00
#[allow(deprecated)]
//~^ ERROR allow(deprecated) incompatible
//~| ERROR allow(deprecated) incompatible
2014-06-19 04:46:48 +08:00
fn main() {
}