-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Unify output of "variant not found" errors #68014
Conversation
r? @cramertj (rust_highfive has picked a reviewer for you, use r? to override) |
@@ -1,4 +1,4 @@ | |||
error[E0599]: no method named `b` found for type `&Self` in the current scope | |||
error[E0599]: no method named `b` found for reference `&Self` in the current scope |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The only thing I have reservations about is this reference
here, but that should probably be changed in prefix_string
to skip references or change it to be something like borrowed enum
.
@bors r+ |
📌 Commit 2c5766f has been approved by |
Unify output of "variant not found" errors Fix rust-lang#49566.
Unify output of "variant not found" errors Fix rust-lang#49566.
Rollup of 8 pull requests Successful merges: - #66045 (Add method Result::into_ok) - #67258 (Introduce `X..`, `..X`, and `..=X` range patterns) - #68014 (Unify output of "variant not found" errors) - #68019 (Build compiletest with in-tree libtest) - #68039 (remove explicit strip-hidden pass from compiler doc generation) - #68050 (Canonicalize rustc_error imports) - #68059 (Allow specifying LLVM args in target specifications) - #68075 (rustbuild: Cleanup book generation) Failed merges: - #68089 (Unstabilize `Vec::remove_item`) r? @ghost
Fix #49566.