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 08:56:47 -07:00
--> $DIR/issue-17518.rs:6:5
|
2019-03-09 15:03:44 +03:00
LL | E { name: "foobar" };
| ^ not found in this scope
|
help: consider importing this variant
2017-06-27 23:16:04 -07:00
|
2023-03-18 02:18:39 +00:00
LL + use SomeEnum::E;
|
error: aborting due to previous error
2018-03-03 15:59:40 +01:00
For more information about this error, try `rustc --explain E0422`.