]> git.lizzy.rs Git - rust.git/blob - src/test/ui-fulldeps/lint-plugin-deny-attr.rs
Add 'src/tools/rust-analyzer/' from commit '977e12a0bdc3e329af179ef3a9d466af9eb613bb'
[rust.git] / src / test / ui-fulldeps / lint-plugin-deny-attr.rs
1 // aux-build:lint-plugin-test.rs
2 // ignore-stage1
3
4 #![feature(plugin)]
5 #![plugin(lint_plugin_test)]
6 //~^ WARN use of deprecated attribute `plugin`
7 #![deny(test_lint)]
8
9 fn lintme() { } //~ ERROR item is named 'lintme'
10
11 pub fn main() {
12     lintme();
13 }