rust/tests/ui-toml/enum_variant_names/enum_variant_names.rs

17 lines
182 B
Rust
Raw Normal View History

2023-09-24 07:56:40 -05:00
enum Foo {
AFoo,
BFoo,
CFoo,
DFoo,
}
enum Foo2 {
//~^ ERROR: all variants have the same postfix
AFoo,
BFoo,
CFoo,
DFoo,
EFoo,
}
fn main() {}