rust/tests/ui/invalid/invalid-plugin-attr.rs

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

8 lines
197 B
Rust
Raw Normal View History

#![deny(unused_attributes)]
#![feature(plugin)]
#[plugin(bla)] //~ ERROR should be an inner attribute
//~| WARN use of deprecated attribute `plugin`: compiler plugins are deprecated
fn main() {}