summaryrefslogtreecommitdiffstats
path: root/tests/ui-fulldeps/lint-plugin-cmdline-load.rs
blob: 0bd95dfbd14a97420b0a78f9c50f7c7775b4a14c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// check-pass
// aux-build:lint-plugin-test.rs
// ignore-stage1
// compile-flags: -Z crate-attr=plugin(lint_plugin_test)

#![feature(plugin)]

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

#[allow(test_lint)]
pub fn main() {
    fn lintme() { }
}