]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/issue-99625-enum-struct-mutually-exclusive.rs
Auto merge of #100678 - GuillaumeGomez:improve-rustdoc-json-tests, r=aDotInTheVoid
[rust.git] / src / test / ui / parser / issue-99625-enum-struct-mutually-exclusive.rs
1 // run-rustfix
2
3 pub enum struct Range {
4     //~^ ERROR `enum` and `struct` are mutually exclusive
5     Valid {
6         begin: u32,
7         len: u32,
8     },
9     Out,
10 }
11
12 fn main() {
13 }