about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src/structured_errors.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-02-16 18:45:43 +0000
committerbors <bors@rust-lang.org>2024-02-16 18:45:43 +0000
commitac998a74b3c8ff4b81c3eeb9a18811d4cc76226d (patch)
tree8a68a5a9f2edfe6f423c3a5e7a0bb5d1043308cd /compiler/rustc_hir_analysis/src/structured_errors.rs
parent0932f895867607a5f4767877d811fd43508a02b1 (diff)
parente8457bb78b85ec4bcf0f28a3a18e4ed70cd3ccb9 (diff)
downloadrust-ac998a74b3c8ff4b81c3eeb9a18811d4cc76226d.tar.gz
rust-ac998a74b3c8ff4b81c3eeb9a18811d4cc76226d.zip
Auto merge of #16579 - DropDemBits:structured-snippet-fix-with-escaped-bits-and-cr, r=Veykril
fix: Fix snippets being placed leftwards of where they should be

Snippet bits were being escaped before placing snippets, shifting snippets leftwards. Snippets were also being shifted leftwards on files with CRLF line endings since they were placed done after the Unix -> DOS line ending conversion.

Hoping this fixes all of the little bugs related to snippet rendering 😅
Diffstat (limited to 'compiler/rustc_hir_analysis/src/structured_errors.rs')
0 files changed, 0 insertions, 0 deletions