Address flip1995's review comments
This commit is contained in:
parent
275988cb73
commit
bc97f5d215
2 changed files with 16 additions and 6 deletions
7
tests/ui/empty_enum_without_never_type.rs
Normal file
7
tests/ui/empty_enum_without_never_type.rs
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#![allow(dead_code)]
|
||||
#![warn(clippy::empty_enum)]
|
||||
|
||||
// `never_type` is not enabled; this test has no stderr file
|
||||
enum Empty {}
|
||||
|
||||
fn main() {}
|
||||
Loading…
Add table
Add a link
Reference in a new issue