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

#![feature(plugin)]

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

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

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

pub fn main() {
    lintme();
    pleaselintme();
}