about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/snippet.rs
AgeCommit message (Collapse)AuthorLines
2021-08-11Modify structured suggestion outputEsteban Küber-0/+2
* On suggestions that include deletions, use a diff inspired output format * When suggesting addition, use `+` as underline * Color highlight modified span
2021-03-27Remove (lots of) dead codeJoshua Nelson-10/+0
Found with https://github.com/est31/warnalyzer. Dubious changes: - Is anyone else using rustc_apfloat? I feel weird completely deleting x87 support. - Maybe some of the dead code in rustc_data_structures, in case someone wants to use it in the future? - Don't change rustc_serialize I plan to scrap most of the json module in the near future (see https://github.com/rust-lang/compiler-team/issues/418) and fixing the tests needed more work than I expected. TODO: check if any of the comments on the deleted code should be kept.
2021-02-02Bump rustfmt versionMark Rousskov-5/+10
Also switches on formatting of the mir build module
2020-10-30Fix even more clippy warningsJoshua Nelson-4/+1
2020-09-18use matches!() macro for simple if let conditionsMatthias Krüger-5/+3
2020-08-30mv compiler to compiler/mark-0/+190