mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-03 04:04:06 +00:00
14 lines
283 B
Rust
14 lines
283 B
Rust
// run-pass
|
|
// aux-build:lint-plugin-test.rs
|
|
// ignore-stage1
|
|
#![feature(plugin)]
|
|
#![plugin(lint_plugin_test)] //~ WARNING use of deprecated attribute
|
|
#![allow(dead_code)]
|
|
|
|
fn lintme() { } //~ WARNING item is named 'lintme'
|
|
|
|
#[allow(test_lint)]
|
|
pub fn main() {
|
|
fn lintme() { }
|
|
}
|