rust/tests/ui-fulldeps/lint-group-plugin-deny-cmdline.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
354 B
Rust
Raw Normal View History

// aux-build:lint-group-plugin-test.rs
// ignore-stage1
// compile-flags: -D lint-me
#![feature(plugin)]
2019-10-03 02:33:28 -05:00
#![plugin(lint_group_plugin_test)]
2019-10-03 02:33:28 -05:00
//~^ WARN use of deprecated attribute `plugin`
fn lintme() { } //~ ERROR item is named 'lintme'
fn pleaselintme() { } //~ ERROR item is named 'pleaselintme'
pub fn main() {
lintme();
pleaselintme();
}