mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
14 lines
380 B
Rust
14 lines
380 B
Rust
#![deny(unknown_lints)]
|
|
|
|
#![allow(not_a_real_lint)] //~ ERROR unknown lint
|
|
|
|
#![deny(dead_cod)] //~ ERROR unknown lint
|
|
//~| HELP did you mean
|
|
//~| SUGGESTION dead_code
|
|
|
|
#![deny(rust_2018_idiots)] //~ ERROR unknown lint
|
|
//~| HELP did you mean
|
|
//~| SUGGESTION rust_2018_idioms
|
|
|
|
fn main() {}
|