]> git.lizzy.rs Git - rust.git/blob - src/test/ui-fulldeps/lint-plugin-deny-cmdline.rs
async/await: improve obligation errors
[rust.git] / src / test / ui-fulldeps / lint-plugin-deny-cmdline.rs
1 // aux-build:lint-plugin-test.rs
2 // ignore-stage1
3 // compile-flags: -D test-lint
4
5 #![feature(plugin)]
6 #![plugin(lint_plugin_test)]
7
8 fn lintme() { } //~ ERROR item is named 'lintme'
9
10 pub fn main() {
11     lintme();
12 }