mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
18 lines
384 B
Rust
18 lines
384 B
Rust
// run-pass
|
|
// aux-build:lint-group-plugin-test.rs
|
|
// ignore-stage1
|
|
|
|
#![feature(plugin)]
|
|
#![plugin(lint_group_plugin_test)] //~ WARNING use of deprecated attribute
|
|
#![allow(dead_code)]
|
|
|
|
fn lintme() { } //~ WARNING item is named 'lintme'
|
|
fn pleaselintme() { } //~ WARNING item is named 'pleaselintme'
|
|
|
|
#[allow(lint_me)]
|
|
pub fn main() {
|
|
fn lintme() { }
|
|
|
|
fn pleaselintme() { }
|
|
}
|