2017-02-04 21:52:44 -07:00
|
|
|
#![feature(plugin)]
|
|
|
|
|
#![plugin(clippy)]
|
|
|
|
|
|
2017-02-04 22:59:39 -07:00
|
|
|
#![allow(dead_code)]
|
2017-02-04 21:52:44 -07:00
|
|
|
#![deny(empty_enum)]
|
|
|
|
|
|
|
|
|
|
enum Empty {} //~ ERROR enum with no variants
|
|
|
|
|
//~^ HELP consider using the uninhabited type `!` or a wrapper around it
|
|
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
|
}
|