mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 22:12:15 +00:00
14 lines
250 B
Rust
14 lines
250 B
Rust
// aux-build:lint-plugin-test.rs
|
|
// ignore-stage1
|
|
|
|
#![feature(plugin)]
|
|
#![plugin(lint_plugin_test)]
|
|
//~^ WARN use of deprecated attribute `plugin`
|
|
#![deny(test_lint)]
|
|
|
|
fn lintme() { } //~ ERROR item is named 'lintme'
|
|
|
|
pub fn main() {
|
|
lintme();
|
|
}
|