2022-10-25 11:15:15 -05:00
|
|
|
error[E0533]: expected value, found struct variant `Foo::Variant`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-18252.rs:6:13
|
2016-11-30 16:35:25 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | let f = Foo::Variant(42);
|
2022-10-25 11:15:15 -05:00
|
|
|
| ^^^^^^^^^^^^ not a value
|
2016-11-30 16:35:25 -06:00
|
|
|
|
2017-07-02 05:49:30 -05:00
|
|
|
error: aborting due to previous error
|
2016-11-30 16:35:25 -06:00
|
|
|
|
2022-10-25 11:15:15 -05:00
|
|
|
For more information about this error, try `rustc --explain E0533`.
|