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.

7 lines
101 B
Rust
Raw Normal View History

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