rust/tests/ui-fulldeps/lint-tool-cmdline-allow.rs

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

13 lines
275 B
Rust
Raw Normal View History

// check-pass
// aux-build:lint-tool-test.rs
2018-09-01 11:06:36 -05:00
// ignore-stage1
// compile-flags: -A test-lint
#![feature(plugin)]
#![plugin(lint_tool_test)] //~ WARNING compiler plugins are deprecated
2018-09-01 11:06:36 -05:00
fn lintme() {}
//~^ WARNING item is named 'lintme' [clippy::test_lint]
2018-09-01 11:06:36 -05:00
pub fn main() {}