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

#![feature(plugin)]
#![plugin(lint_group_plugin_test)] //~ WARNING use of deprecated attribute
#![allow(dead_code)]

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

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

    fn pleaselintme() { }
}