2019-11-30 08:31:25 +00:00
|
|
|
// check-pass
|
2019-03-12 00:49:17 +00:00
|
|
|
// aux-build:lint-plugin-test.rs
|
2014-06-18 20:46:48 +00:00
|
|
|
// ignore-stage1
|
2019-11-30 08:31:25 +00:00
|
|
|
// compile-flags: -Z crate-attr=plugin(lint_plugin_test)
|
2014-06-18 20:46:48 +00:00
|
|
|
|
2019-11-30 08:31:25 +00:00
|
|
|
#![feature(plugin)]
|
2016-08-22 23:51:37 +00:00
|
|
|
|
2014-12-20 02:39:43 +00:00
|
|
|
fn lintme() { } //~ WARNING item is named 'lintme'
|
2014-06-18 20:46:48 +00:00
|
|
|
|
2014-12-20 02:39:43 +00:00
|
|
|
#[allow(test_lint)]
|
2014-06-18 20:46:48 +00:00
|
|
|
pub fn main() {
|
2014-12-20 02:39:43 +00:00
|
|
|
fn lintme() { }
|
2014-06-18 20:46:48 +00:00
|
|
|
}
|