mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +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() { }
|
|
}
|