Uh oh!
There was an error while loading. Please reload this page.
Fix #58270, fix off-by-one error in error diagnostics. - #60160
Conversation
rust-highfive
commented
Apr 22, 2019
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @matthewjasper (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
439e7de to
6c34a8bComparexldenis
commented
Apr 22, 2019
r? @estebank |
rust-highfive
commented
Apr 22, 2019
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 |
estebank
commented
Apr 22, 2019
The change looks good. You'll have to rebase información top of latest master and rerun bless, but other than that r=me. |
6c34a8b to
69e20e6Compare69e20e6 to
4a073ddComparexldenis
commented
Apr 24, 2019
r=estebank I rebased an ran bless (it updated one test case). |
estebank
commented
Apr 24, 2019
@bors r+ |
bors
commented
Apr 24, 2019
📌 Commit 4a073dd has been approved by |
…annotation, r=estebank Fixrust-lang#58270, fix off-by-one error in error diagnostics. This fixesrust-lang#58270 by checking if two diagnostics overlap completely when we're calculating the line offset for each message.
Rollup of 6 pull requests Successful merges: - #59560 (MIR generation cleanup) - #59697 (tweak unresolved label suggestion) - #60038 (Add codegen test for PGO instrumentation.) - #60160 (Fix#58270, fix off-by-one error in error diagnostics.) - #60185 (Reexport IntErrorKind in std) - #60243 (Add regression test for #53249.) Failed merges: r? @ghost
bors
commented
Apr 25, 2019
Remove old fixme fixed in rust-lang#60160 r? @Centril
Remove old fixme fixed in rust-lang#60160 r? @Centril
Remove old fixme fixed in rust-lang#60160 r? @Centril
Remove old fixme fixed in rust-lang#60160 r? @Centril
This fixes#58270 by checking if two diagnostics overlap completely when we're calculating the line offset for each message.