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