]> git.lizzy.rs Git - rust.git/blob - tests/ui-fulldeps/lint-group-plugin-deny-cmdline.rs
Auto merge of #106711 - albertlarsan68:use-ci-llvm-when-lld, r=jyn514
[rust.git] / tests / ui-fulldeps / lint-group-plugin-deny-cmdline.rs
1 // aux-build:lint-group-plugin-test.rs
2 // ignore-stage1
3 // compile-flags: -D lint-me
4
5 #![feature(plugin)]
6
7 #![plugin(lint_group_plugin_test)]
8 //~^ WARN use of deprecated attribute `plugin`
9
10 fn lintme() { } //~ ERROR item is named 'lintme'
11
12 fn pleaselintme() { } //~ ERROR item is named 'pleaselintme'
13
14 pub fn main() {
15     lintme();
16     pleaselintme();
17 }