mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 16:54:01 +00:00
14 lines
253 B
Rust
14 lines
253 B
Rust
// check-pass
|
|
// aux-build:lint-plugin-test.rs
|
|
// ignore-stage1
|
|
// compile-flags: -Z crate-attr=plugin(lint_plugin_test)
|
|
|
|
#![feature(plugin)]
|
|
|
|
fn lintme() { } //~ WARNING item is named 'lintme'
|
|
|
|
#[allow(test_lint)]
|
|
pub fn main() {
|
|
fn lintme() { }
|
|
}
|