mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
13 lines
275 B
Rust
13 lines
275 B
Rust
// check-pass
|
|
// aux-build:lint-tool-test.rs
|
|
// ignore-stage1
|
|
// compile-flags: -A test-lint
|
|
|
|
#![feature(plugin)]
|
|
#![plugin(lint_tool_test)] //~ WARNING compiler plugins are deprecated
|
|
|
|
fn lintme() {}
|
|
//~^ WARNING item is named 'lintme' [clippy::test_lint]
|
|
|
|
pub fn main() {}
|