Uh oh!
There was an error while loading. Please reload this page.
Extend E0308 description with dynamic dispatch example - #70071
Conversation
rust-highfive
commented
Mar 17, 2020
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
rust-highfive
commented
Mar 17, 2020
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
llogiq
commented
Mar 18, 2020
Hmm...it appears the error text is included in some ui tests. Will update tomorrow. |
bors
commented
Mar 19, 2020
☔ The latest upstream changes (presumably #70118) made this pull request unmergeable. Please resolve the merge conflicts. |
llogiq
commented
Mar 20, 2020
I'm unsure how to fix the numeric-suffix test, there appears to be an error in compiletest. |
llogiq
commented
Mar 23, 2020
@GuilliaumeGomez it appears that this uncovers some breakage in compiletest? Haven't debugged yet, because I didn't compile with debug info yet. |
bors
commented
Mar 24, 2020
☔ The latest upstream changes (presumably #70343) made this pull request unmergeable. Please resolve the merge conflicts. |
GuillaumeGomez
commented
Mar 30, 2020
This pretty nice except for the huge weird bug. Here's what I suggest: change which error code explanation is tested in |
nikomatsakis
commented
Apr 1, 2020
Seems...fine to test some other random error. What's the bug exactly? Something in compiletest? |
llogiq
commented
Apr 4, 2020
I must assume so. Probably some JSON message cut in transit. |
eddyb
commented
Apr 4, 2020
I don't see any cutting. Furthermore, Cargo and other tools rely on parsing the same JSON. |
llogiq
commented
Apr 4, 2020
If so, then the error is only uncovered by this change, not caused by it. But I'll try bisecting the problem. |
eddyb
commented
Apr 4, 2020
Hmm if you can reproduce locally, I suppose you can try removing parts of your message until it goes away? I suspect it's some sequence of characters that doesn't escape properly? |
llogiq
commented
Apr 4, 2020
Yeah, that's the plan. |
llogiq
commented
Apr 10, 2020
I have finally found the time to bisect the problem. The thing works up to the last example reduced to: If I only add another |
eddyb
commented
Apr 10, 2020
cc @rust-lang/wg-diagnostics |
crlf0710
commented
May 8, 2020
@llogiq Ping from triage. Needs a rebase here. I'd actually suggest trying and see if there's some way to finish the error code description without triggering this issue locally, and file a separate issue about this at the same time. |
estebank
commented
May 8, 2020
The only thing that comes to mind is that multiline spans don't get fully rendered if they are longer than 7 lines... But I don't see how that would affect this. |
Dylan-DPC-zz
commented
May 27, 2020
Closing this due to inactivity. |
r? @GuillaumeGomez