rust/tests/ui-fulldeps/plugin/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 13:46:48 -07:00
// ignore-stage1
// compile-flags: -Z crate-attr=plugin(lint_plugin_test)
2014-06-18 13:46:48 -07:00
#![feature(plugin)]
2014-12-20 08:09:43 +05:30
fn lintme() { } //~ WARNING item is named 'lintme'
2014-06-18 13:46:48 -07:00
2014-12-20 08:09:43 +05:30
#[allow(test_lint)]
2014-06-18 13:46:48 -07:00
pub fn main() {
2014-12-20 08:09:43 +05:30
fn lintme() { }
2014-06-18 13:46:48 -07:00
}