mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-19 01:24:05 +00:00
16 lines
182 B
Rust
16 lines
182 B
Rust
enum Foo {
|
|
AFoo,
|
|
BFoo,
|
|
CFoo,
|
|
DFoo,
|
|
}
|
|
enum Foo2 {
|
|
//~^ ERROR: all variants have the same postfix
|
|
AFoo,
|
|
BFoo,
|
|
CFoo,
|
|
DFoo,
|
|
EFoo,
|
|
}
|
|
|
|
fn main() {}
|