]> git.lizzy.rs Git - rust.git/blob - tests/ui/lint/lint-unknown-lint.rs
Auto merge of #106884 - clubby789:fieldless-enum-debug, r=michaelwoerister
[rust.git] / tests / 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() {}