Uh oh!
There was an error while loading. Please reload this page.
Add diagnostics for E0172, fix inline message for E0139 - #27127
Conversation
Manishearth
commented
Jul 19, 2015
So sorry, I already did this in Manishearth@850e9be . I'll update the spreadsheet to give myself a global lock over librustc |
Manishearth
commented
Jul 19, 2015
If you think that one can be improved or this one is better, let me know and we can merge them :) |
AlisdairO
commented
Jul 19, 2015
Ah that's a shame :(. Oh well - is E0172 still okay? I could pull that out into a separate PR. On 139, I think yours is a better explanation of more common scenarios to hit this problem. That said, I think the short error message may be a little off? It talks about type parameters in its interior, but for the following example, I wouldn't really call the parameter 'interior': |
Manishearth
commented
Jul 20, 2015
Sure, in fact just amending the commit in this PR would work too. Hmm. "Interior" might be alluding to situations where there are no explicit type params involved. E.g. But this isn't an important distinction, really. "contaisn unsubstituted type parameters" or some such might be better. (Feel free to make the change to the inline error in this same PR) |
AlisdairO
commented
Jul 20, 2015
OK, I think that should do it! |
Manishearth
commented
Jul 20, 2015
LGTM modulo nit |
AlisdairO
commented
Jul 20, 2015
Added the nit-fix, and squashed. |
Manishearth
commented
Jul 20, 2015
@bors r+ rollup |
bors
commented
Jul 20, 2015
📌 Commit 686d326 has been approved by |
GuillaumeGomez
commented
Jul 20, 2015
@AlisdairO: If you wanna see what error code remains, take a look at the spreadsheet available here : #24407. |
AlisdairO
commented
Jul 20, 2015
@GuillaumeGomez Thanks a lot - I've been going through and marking them off in the spreadsheet, but I think we just hit an unfortunate coincidence :-) |
GuillaumeGomez
commented
Jul 21, 2015
On which one ? |
AlisdairO
commented
Jul 21, 2015
On E0139. |
GuillaumeGomez
commented
Jul 21, 2015
What's about E0139 ? It was marked as merged ? |
AlisdairO
commented
Jul 21, 2015
I don't think so - at least, as I see the spreadsheet I'm still marked as the assignee. I see from the issue that I'm supposed to comment in there too, which I haven't been doing, so I'll do that in future! |
…arth As title :-) Part of rust-lang#24407. r? @Manishearth
…arth As title :-) Part of rust-lang#24407. r? @Manishearth
…arth As title :-) Part of rust-lang#24407. r? @Manishearth
…arth As title :-) Part of rust-lang#24407. r? @Manishearth
…arth As title :-) Part of rust-lang#24407. r? @Manishearth
…arth As title :-) Part of rust-lang#24407. r? @Manishearth
…arth As title :-) Part of rust-lang#24407. r? @Manishearth
As title :-)
Part of #24407.