Skip to content
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

Merged
merged 1 commit into from
Jan 10, 2020
Merged

Conversation

estebank
Copy link
Contributor

@estebank estebank commented Jan 8, 2020

Fix #49566.

@rust-highfive
Copy link
Collaborator

r? @cramertj

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jan 8, 2020
@@ -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
Copy link
Contributor Author

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.

@cramertj
Copy link
Member

cramertj commented Jan 8, 2020

@bors r+

@bors
Copy link
Contributor

bors commented Jan 8, 2020

📌 Commit 2c5766f has been approved by cramertj

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jan 8, 2020
Centril added a commit to Centril/rust that referenced this pull request Jan 9, 2020
JohnTitor added a commit to JohnTitor/rust that referenced this pull request Jan 10, 2020
bors added a commit that referenced this pull request Jan 10, 2020
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
@bors bors merged commit 2c5766f into rust-lang:master Jan 10, 2020
@estebank estebank deleted the unify-e0599 branch November 9, 2023 05:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

E0223 should not be given in contexts where ::Thing cannot be an associated type
4 participants