Uh oh!
There was an error while loading. Please reload this page.
typeck: when suggesting associated fns, do not show call site as fallback - #33330
Conversation
rust-highfive
commented
May 2, 2016
r? @nrc (rust_highfive has picked a reviewer for you, use r? to override) |
Manishearth
commented
May 2, 2016
This does not fix #29121, that bug is about improving the diagnostics to help in both situations (when an impl is wrong and when a call is wrong) |
birkenfeld
commented
May 2, 2016
True, should only reference the issue. |
There was a problem hiding this comment.
Can we use span_if_local instead with if let? r=me with that nit fixed
birkenfeld
commented
May 2, 2016
@Manishearth like that? |
Manishearth
commented
May 2, 2016
@bors r+ yep! |
bors
commented
May 2, 2016
📌 Commit 832ce20 has been approved by |
birkenfeld
commented
May 2, 2016
@nrc@Manishearth since this is already rollup-ed, what's the procedure to fix it? |
nrc
commented
May 2, 2016
@birkenfeld a follow-up PR is probably best, if you're quick, @Manishearth might be able to get it into the rollup - these things often take a few goes to land. |
Manishearth
commented
May 2, 2016
Just fix up this PR and I'll re-rollup. I have scripts for efficiently dealing with rollups |
birkenfeld
commented
May 2, 2016
@Manishearth added a followup commit here. |
Manishearth
commented
May 2, 2016
@bors r+ |
bors
commented
May 2, 2016
📌 Commit b7821f9 has been approved by |
Manishearth
commented
May 2, 2016
|
Manishearth
commented
May 2, 2016
@bors r- delegate+ |
bors
commented
May 2, 2016
✌️ @birkenfeld can now approve this pull request |
birkenfeld
commented
May 3, 2016
@Manishearth wait, what? Why is this method missing? It is definitely not missing here (and compiles for me). |
Manishearth
commented
May 3, 2016
Oh, it probably got changed in the rollup, Niko's error message overhaul might have tweaked things. Rebase and try building again? |
…back In case we cannot produce a span for the location of the definition, just do not show a span at all. cc: rust-lang#29121
birkenfeld
commented
May 3, 2016
@bors r=Manishearth |
bors
commented
May 3, 2016
📌 Commit 780f725 has been approved by |
bors
commented
May 3, 2016
typeck: when suggesting associated fns, do not show call site as fallback In case we cannot produce a span for the location of the definition, just do not show a span at all. cc: #29121
In case we cannot produce a span for the location of the definition, just do not show a span at all.
cc: #29121