diff options
| author | Jana Dönszelmann <jonathan@donsz.nl> | 2025-07-31 17:19:41 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-31 17:19:41 +0200 |
| commit | e2ae91b74aa85e0076377908f41b050bec11cda4 (patch) | |
| tree | 7eb7f7e22231a798a694ad1dd78f96b88cff3ed6 /tests | |
| parent | 26c28ee2ef1402f59cadf03417b05cdb892e7940 (diff) | |
| parent | 935fdb6980f0f4133a26a91aefe81b4e2cea01c9 (diff) | |
| download | rust-e2ae91b74aa85e0076377908f41b050bec11cda4.tar.gz rust-e2ae91b74aa85e0076377908f41b050bec11cda4.zip | |
Rollup merge of #144733 - Muscraft:secondary-file-sigil, r=compiler-errors
fix: Match width of ascii and unicode secondary file start The current [unicode secondary file start](https://github.com/rust-lang/rust/blob/64ca23b6235732fa61c0a2b957c5d7e591e7c972/compiler/rustc_errors/src/emitter.rs#L2991) is only three characters, whereas the ASCII variant and normal [file start](https://github.com/rust-lang/rust/blob/64ca23b6235732fa61c0a2b957c5d7e591e7c972/compiler/rustc_errors/src/emitter.rs#L2983-L2984) are four characters. This slight difference caused the paths following a Unicode secondary file start to not align with other structured elements.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ui/error-emitter/close_window.unicode.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/error-emitter/close_window.unicode.stderr b/tests/ui/error-emitter/close_window.unicode.stderr index 56ab6daa278..b4aa78a5ac9 100644 --- a/tests/ui/error-emitter/close_window.unicode.stderr +++ b/tests/ui/error-emitter/close_window.unicode.stderr @@ -4,7 +4,7 @@ error[E0624]: method `method` is private LL │ s.method(); │ ━━━━━━ private method │ - ⸬ $DIR/auxiliary/close_window.rs:3:5 + ⸬ $DIR/auxiliary/close_window.rs:3:5 │ LL │ fn method(&self) {} ╰╴ ──────────────── private method defined here |
