summaryrefslogtreecommitdiffstats
path: root/src/test/ui-fulldeps/lint-plugin-deny-attr.rs
blob: 04230a8e883b1587875de62291048ea7c1da4093 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// aux-build:lint-plugin-test.rs
// ignore-stage1

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

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

pub fn main() {
    lintme();
}