rust/tests/ui/resolve/issue-17518.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
358 B
Plaintext
Raw Normal View History

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
|
2019-03-09 12:03:44 +00:00
LL | E { name: "foobar" };
| ^ not found in this scope
|
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;
|
error: aborting due to previous error
2018-03-03 14:59:40 +00:00
For more information about this error, try `rustc --explain E0422`.