2019-03-11 19:49:17 -05:00
|
|
|
// aux-build:lint-plugin-test.rs
|
2014-06-18 15:46:48 -05:00
|
|
|
// ignore-stage1
|
|
|
|
// compile-flags: -D test-lint
|
|
|
|
|
2014-12-31 22:43:46 -06:00
|
|
|
#![feature(plugin)]
|
2015-02-06 15:56:38 -06:00
|
|
|
#![plugin(lint_plugin_test)]
|
2019-10-03 02:33:28 -05:00
|
|
|
//~^ WARN use of deprecated attribute `plugin`
|
2014-06-18 15:46:48 -05:00
|
|
|
|
|
|
|
fn lintme() { } //~ ERROR item is named 'lintme'
|
|
|
|
|
|
|
|
pub fn main() {
|
|
|
|
lintme();
|
|
|
|
}
|