summaryrefslogtreecommitdiffstats
path: root/tests/ui-fulldeps/plugin/lint-plugin.rs
blob: 66057eea6bcf7bd11b6ee5d1af8605165fa95583 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// run-pass
// aux-build:lint-plugin-test.rs
// ignore-stage1
#![feature(plugin)]
#![plugin(lint_plugin_test)] //~ WARNING use of deprecated attribute
#![allow(dead_code)]

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

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