-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Poor error messages from impl EnumValue
#19197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
Comments
This is still reproducible. Rust version is:
Code is: enum E {
A
}
impl E::A {}
fn main() {} The result is:
|
nham
pushed a commit
to nham/rust
that referenced
this issue
May 17, 2016
I'm guessing these were actually fixed with PR rust-lang#27085. Closes rust-lang#21225 Closes rust-lang#19197
Manishearth
added a commit
to Manishearth/rust
that referenced
this issue
May 19, 2016
Add regression tests for error message when using enum variant as a type I'm guessing these were actually fixed with PR rust-lang#27085. Closes rust-lang#21225 Closes rust-lang#19197
lnicola
pushed a commit
to lnicola/rust
that referenced
this issue
Mar 3, 2025
feat: update insta inline snapshot when clicking 'Update Test' runnable
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Compiling
Results in
Which doesn't seem quite right...
Compiling
Results in
Which, while being correct, is printing out compiler internals for no obvious reason...
The text was updated successfully, but these errors were encountered: