diff options
| author | bors <bors@rust-lang.org> | 2021-08-11 19:26:01 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-08-11 19:26:01 +0000 |
| commit | ccffcafd55e58f769d4b0efc0064bf65e76998e4 (patch) | |
| tree | 725b619b120ee18a4bada33b6f7fb4385e06d6df /compiler/rustc_codegen_llvm/src | |
| parent | 362e0f55eb1f36d279e5c4a58fb0fe5f9a2c579d (diff) | |
| parent | 657caa5bf293e9d910a54dac10dc536e7c26e50b (diff) | |
| download | rust-ccffcafd55e58f769d4b0efc0064bf65e76998e4.tar.gz rust-ccffcafd55e58f769d4b0efc0064bf65e76998e4.zip | |
Auto merge of #86532 - estebank:delete-suggestion-underline, r=petrochenkov
Make deleted code in a suggestion clearer Show suggestions that include deletions in a way similar to `diff`'s output. <img width="628" alt="" src="https://user-images.githubusercontent.com/1606434/123350316-9078e580-d50f-11eb-89b9-78431b85e23f.png"> For changes that do not have deletions, use `+` as an underline for additions and `~` as an underline for replacements. <img width="631" alt="" src="https://user-images.githubusercontent.com/1606434/123701745-1ac68f80-d817-11eb-950b-09e5afd7532f.png"> For multiline suggestions, we now use `~` in the gutter to signal replacements and `+` to signal whole line replacements/additions. <img width="834" alt="" src="https://user-images.githubusercontent.com/1606434/123701331-8eb46800-d816-11eb-9dcd-ef9098071afb.png"> In all cases we now use color to highlight the specific spans and snippets.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
