fix "X is not a member of trait Y" span labels#36429
Conversation
|
r? @arielb1 (rust_highfive has picked a reviewer for you, use r? to override) |
src/librustc_resolve/lib.rs
Outdated
There was a problem hiding this comment.
Why removing "trait"? I actually find this better with it.
The span labels for associated types and consts were hardcoded to `Foo` rather than substituting the name of the trait. This also normalizes the wording for associated methods', traits', and consts' span labels. Fixes rust-lang#36428.
|
Travis passed, so I squashed the commits. |
|
All good for me! |
|
@bors r=nagisa |
|
📌 Commit 0a62676 has been approved by |
|
⌛ Testing commit 0a62676 with merge e9a337d... |
|
💔 Test failed - auto-win-msvc-64-opt-rustbuild |
|
bogus On Tue, Sep 13, 2016 at 10:39 PM, bors notifications@github.com wrote:
|
|
@bors: retry On Tue, Sep 13, 2016 at 7:40 PM, Alex Burka notifications@github.com
|
fix "X is not a member of trait Y" span labels Fixes rust-lang#36428.
Fixes #36428.