]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/lint-unknown-lint.rs
Merge commit 'f51aade56f93175dde89177a92e3669ebd8e7592' into clippyup
[rust.git] / src / test / ui / lint / lint-unknown-lint.rs
1 #![deny(unknown_lints)]
2
3 #![allow(not_a_real_lint)] //~ ERROR unknown lint
4
5 #![deny(dead_cod)] //~ ERROR unknown lint
6                    //~| HELP did you mean
7                    //~| SUGGESTION dead_code
8
9 #![deny(rust_2018_idiots)] //~ ERROR unknown lint
10                            //~| HELP did you mean
11                            //~| SUGGESTION rust_2018_idioms
12
13 fn main() {}