fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0573]: expected type, found variant `Alpha::One` 2 --> $DIR/offset-of-enum.rs:11:16 3 | 4LL | offset_of!(Alpha::One, 0); 5 | ^^^^^^^^^^ 6 | | 7 | not a type 8 | help: try using the variant's enum: `Alpha` 9 10error[E0609]: no field `Two` on type `Alpha` 11 --> $DIR/offset-of-enum.rs:12:23 12 | 13LL | offset_of!(Alpha, Two.0); 14 | ^^^ 15 16error: aborting due to 2 previous errors 17 18Some errors have detailed explanations: E0573, E0609. 19For more information about an error, try `rustc --explain E0573`.