]> git.lizzy.rs Git - rust.git/blob - tests/ui-fulldeps/lint-plugin-deny-attr.rs
Rollup merge of #107687 - cjgillot:sroa-2, r=oli-obk
[rust.git] / tests / 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 }