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