]> git.lizzy.rs Git - rust.git/blob - src/test/ui-fulldeps/lint-plugin.rs
Auto merge of #103062 - cuviper:dist-mips, r=Mark-Simulacrum
[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 }