]> git.lizzy.rs Git - rust.git/blob - tests/ui/empty_enum.rs
rustup and compile-fail -> ui test move
[rust.git] / tests / ui / empty_enum.rs
1 #![feature(plugin)]
2 #![plugin(clippy)]
3
4 #![allow(dead_code)]
5 #![deny(empty_enum)]
6
7 enum Empty {} //~ ERROR enum with no variants
8     //~^ HELP consider using the uninhabited type `!` or a wrapper around it
9
10 fn main() {
11 }