mirror of
https://github.com/rust-lang/rust-clippy
synced 2025-02-25 11:57:25 +00:00
11 lines
221 B
Rust
11 lines
221 B
Rust
#![feature(plugin)]
|
|
#![plugin(clippy)]
|
|
|
|
#![allow(dead_code)]
|
|
#![deny(empty_enum)]
|
|
|
|
enum Empty {} //~ ERROR enum with no variants
|
|
//~^ HELP consider using the uninhabited type `!` or a wrapper around it
|
|
|
|
fn main() {
|
|
}
|