2017-01-11 22:18:08 +00:00
|
|
|
error[E0422]: cannot find struct, variant or union type `E` in this scope
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/issue-17518.rs:6:5
|
2016-11-30 22:35:25 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | E { name: "foobar" };
|
2017-01-11 22:18:08 +00:00
|
|
|
| ^ not found in this scope
|
2019-10-24 05:20:58 +00:00
|
|
|
|
|
2020-05-04 22:12:06 +00:00
|
|
|
help: consider importing this variant
|
2017-06-28 06:16:04 +00:00
|
|
|
|
|
2023-03-18 02:18:39 +00:00
|
|
|
LL + use SomeEnum::E;
|
2017-07-05 23:39:06 +00:00
|
|
|
|
|
2016-11-30 22:35:25 +00:00
|
|
|
|
2017-07-02 10:49:30 +00:00
|
|
|
error: aborting due to previous error
|
2016-11-30 22:35:25 +00:00
|
|
|
|
2018-03-03 14:59:40 +00:00
|
|
|
For more information about this error, try `rustc --explain E0422`.
|