summaryrefslogtreecommitdiffstats
path: root/src/test/ui-fulldeps/issue-15778-fail.rs
blob: beecaadf95554fca6339caf96b1e72b13fce8e2a (plain)
1
2
3
4
5
6
7
8
9
// 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() { }