]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #45741 - oli-obk:refactor_suggestions, r=estebank
authorbors <bors@rust-lang.org>
Thu, 9 Nov 2017 15:42:26 +0000 (15:42 +0000)
committerbors <bors@rust-lang.org>
Thu, 9 Nov 2017 15:42:26 +0000 (15:42 +0000)
Refactor internal suggestion API

~~The only functional change is that whitespace, which is suggested to be added, also gets `^^^^` under it. An example is shown in the tests (the only test that changed).~~

Continuation of #41876

r? @nagisa

the changes are probably best viewed [without whitespace](https://github.com/rust-lang/rust/pull/45741/files?w=1)

1  2 
src/librustc_errors/emitter.rs
src/libsyntax/json.rs

Simple merge
Simple merge