-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Nonsensical error in rustc output. #75397
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-trait-system
Area: Trait system
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
jonas-schievink
added
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
A-trait-system
Area: Trait system
labels
Aug 11, 2020
I also hit this issue on stable rust 1.46
|
Closed
Now that #89576 has landed, I think this issue can be resolved. Can you try to reproduce with a recent nightly? If it's still present, please reopen. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-trait-system
Area: Trait system
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Given a code with few issues I got completely unrelated error bound to line with one of those issues.
I tried this code:
I expected to see this happen:
Instead, this happened:
Meta
Simplified reproduction.
https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=4ded409a017da7b3d6d0a4dcbfc1bebb
The text was updated successfully, but these errors were encountered: