0
0
mirror of https://github.com/rust-lang/rust.git synced 2024-11-29 06:17:06 +01:00
rust/tests/ui-fulldeps/lint-plugin.rs
2023-01-11 09:32:08 +00:00

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() { }
}