mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-18 00:53:31 +00:00
10 lines
200 B
Rust
10 lines
200 B
Rust
#![feature(plugin)]
|
|
#![plugin(clippy)]
|
|
|
|
#![deny(empty_enum)]
|
|
|
|
enum Empty {} //~ ERROR enum with no variants
|
|
//~^ HELP consider using the uninhabited type `!` or a wrapper around it
|
|
|
|
fn main() {
|
|
}
|