]> git.lizzy.rs Git - rust.git/blob - src/test/ui-fulldeps/lint-plugin-cmdline-load.rs
Auto merge of #67332 - matthewjasper:drop-in-place-cgus, r=michaelwoerister
[rust.git] / src / test / ui-fulldeps / lint-plugin-cmdline-load.rs
1 // check-pass
2 // aux-build:lint-plugin-test.rs
3 // ignore-stage1
4 // compile-flags: -Z crate-attr=plugin(lint_plugin_test)
5
6 #![feature(plugin)]
7
8 fn lintme() { } //~ WARNING item is named 'lintme'
9
10 #[allow(test_lint)]
11 pub fn main() {
12     fn lintme() { }
13 }