]> git.lizzy.rs Git - rust.git/blob - src/test/ui-fulldeps/lint-plugin.rs
Merge commit '533f0fc81ab9ba097779fcd27c8f9ea12261fef5' into psimd
[rust.git] / src / test / ui-fulldeps / lint-plugin.rs
1 // run-pass
2 // aux-build:lint-plugin-test.rs
3 // ignore-stage1
4 #![feature(plugin)]
5 #![plugin(lint_plugin_test)] //~ WARNING use of deprecated attribute
6 #![allow(dead_code)]
7
8 fn lintme() { } //~ WARNING item is named 'lintme'
9
10 #[allow(test_lint)]
11 pub fn main() {
12     fn lintme() { }
13 }