1 // aux-build:lint-plugin-test.rs
3 // compile-flags: -F test-lint
6 #![plugin(lint_plugin_test)]
7 //~^ WARN use of deprecated attribute `plugin`
8 fn lintme() { } //~ ERROR item is named 'lintme'
10 #[allow(test_lint)] //~ ERROR allow(test_lint) incompatible
11 //~| ERROR allow(test_lint) incompatible
12 //~| ERROR allow(test_lint)