rust/tests/ui-fulldeps/lint-plugin-cmdline-load.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
253 B
Rust
Raw Normal View History

// check-pass
// aux-build:lint-plugin-test.rs
2014-06-18 15:46:48 -05:00
// ignore-stage1
// compile-flags: -Z crate-attr=plugin(lint_plugin_test)
2014-06-18 15:46:48 -05:00
#![feature(plugin)]
2014-12-19 20:39:43 -06:00
fn lintme() { } //~ WARNING item is named 'lintme'
2014-06-18 15:46:48 -05:00
2014-12-19 20:39:43 -06:00
#[allow(test_lint)]
2014-06-18 15:46:48 -05:00
pub fn main() {
2014-12-19 20:39:43 -06:00
fn lintme() { }
2014-06-18 15:46:48 -05:00
}