rust/tests/ui/enum/error-variant-with-turbofishes.stderr
Michael Goulet 9d72808b1e Add test
2024-04-15 18:48:12 -04:00

10 lines
326 B
Plaintext

error[E0533]: expected value, found struct variant `Struct<0>::Variant`
--> $DIR/error-variant-with-turbofishes.rs:4:13
|
LL | let x = Struct::<0>::Variant;
| ^^^^^^^^^^^^^^^^^^^^ not a value
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0533`.