Uh oh!
There was an error while loading. Please reload this page.
Include rendered diagnostic in json - #46052
Conversation
oli-obk
commented
Nov 17, 2017
7aa1b0f to
d5520fcCompareoli-obk
commented
Nov 17, 2017
Currently checking whether |
Jup, happens on master but not on nightly... edit: it happens with rustc built with debug-assertions. No idea how long we've had this issue, but it's fixed now. |
There was a problem hiding this comment.
To clarify, this is needed only because the interface of EmitterWriter::new requires it?
There was a problem hiding this comment.
Nit: unnecessary to_owned?
There was a problem hiding this comment.
Could you explain this in short? This text is going to be used as a whole without any preprocessing?
There was a problem hiding this comment.
We just want this so the json looks readable if suggestions contain multilines. As a side effect error explanations also become readable
There was a problem hiding this comment.
I added a comment explaining what's going on
petrochenkov
commented
Nov 18, 2017
r=me with questions answered |
8fbb47b to
3864d89Comparepetrochenkov
commented
Nov 20, 2017
@bors r+ |
bors
commented
Nov 20, 2017
📌 Commit 3864d89 has been approved by |
oli-obk
commented
Nov 20, 2017
Sorry about that, the master branch has an empty line less in the error output with suggestions |
nikomatsakis
commented
Nov 20, 2017
@bors r=petrochenkov |
bors
commented
Nov 20, 2017
📌 Commit e7b2702 has been approved by |
…n, r=petrochenkov Include rendered diagnostic in json r? @petrochenkov
Check //~ERROR comments in ui tests r? @nikomatsakis cc #44844@Phlosioneer@estebank@petrochenkov this depends on #46052 getting merged first (the commits are included in here) The relevant changes of this PR are c2f0af7 and 979269b
Check //~ERROR comments in ui tests r? @nikomatsakis cc #44844@Phlosioneer@estebank@petrochenkov this depends on #46052 getting merged first (the commits are included in here) The relevant changes of this PR are c2f0af7 and 979269b
r? @petrochenkov