]> git.lizzy.rs Git - rust.git/blob - tests/ui-fulldeps/lint-group-plugin.rs
Rollup merge of #107344 - compiler-errors:new-solver-tweaks, r=lcnr
[rust.git] / tests / ui-fulldeps / lint-group-plugin.rs
1 // run-pass
2 // aux-build:lint-group-plugin-test.rs
3 // ignore-stage1
4
5 #![feature(plugin)]
6 #![plugin(lint_group_plugin_test)] //~ WARNING use of deprecated attribute
7 #![allow(dead_code)]
8
9 fn lintme() { } //~ WARNING item is named 'lintme'
10 fn pleaselintme() { } //~ WARNING item is named 'pleaselintme'
11
12 #[allow(lint_me)]
13 pub fn main() {
14     fn lintme() { }
15
16     fn pleaselintme() { }
17 }