summaryrefslogtreecommitdiffstats
path: root/tests/ui-fulldeps/lint-plugin-deny-cmdline.rs
blob: c460cfd5f945168d029f35d7cc037268c1412450 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// aux-build:lint-plugin-test.rs
// ignore-stage1
// compile-flags: -D test-lint

#![feature(plugin)]
#![plugin(lint_plugin_test)]
//~^ WARN use of deprecated attribute `plugin`

fn lintme() { } //~ ERROR item is named 'lintme'

pub fn main() {
    lintme();
}