10 lines
248 B
Rust
10 lines
248 B
Rust
// aux-build:lint-for-crate.rs
|
|
// ignore-stage1
|
|
// compile-flags: -D crate-not-okay
|
|
|
|
#![feature(plugin)] //~ ERROR crate is not marked with #![crate_okay]
|
|
#![plugin(lint_for_crate)]
|
|
//~^ WARN use of deprecated attribute `plugin`
|
|
|
|
pub fn main() { }
|