]>
Commit | Line | Data |
---|---|---|
7cac9316 | 1 | // run-pass |
532ac7d7 | 2 | // aux-build:lint-plugin-test.rs |
1a4d82fc | 3 | // ignore-stage1 |
1a4d82fc | 4 | #![feature(plugin)] |
e74abb32 | 5 | #![plugin(lint_plugin_test)] //~ WARNING use of deprecated attribute |
9e0c209e | 6 | #![allow(dead_code)] |
223e47cc | 7 | |
1a4d82fc | 8 | fn lintme() { } //~ WARNING item is named 'lintme' |
223e47cc | 9 | |
1a4d82fc | 10 | #[allow(test_lint)] |
223e47cc | 11 | pub fn main() { |
1a4d82fc | 12 | fn lintme() { } |
223e47cc | 13 | } |