]> git.lizzy.rs Git - rust.git/blob - tests/ui-fulldeps/lint-plugin.rs
Rollup merge of #106958 - jyn514:labels, r=m-ou-se
[rust.git] / tests / 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 }