diff options
| author | bors <bors@rust-lang.org> | 2024-06-23 06:12:34 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-06-23 06:12:34 +0000 |
| commit | a25cb8ab40745e8471614f20b4da852027e44caa (patch) | |
| tree | f694a0bc2d801adb5037e38d3a8341b7fe6a5bec /compiler/rustc_errors/src | |
| parent | 6d9fd241aa9bee5972a45f7494720d6a118cace9 (diff) | |
| parent | d73be701390c07ed99648404c08099420c38ca90 (diff) | |
| download | rust-a25cb8ab40745e8471614f20b4da852027e44caa.tar.gz rust-a25cb8ab40745e8471614f20b4da852027e44caa.zip | |
Auto merge of #3704 - rust-lang:rustup-2024-06-23, r=RalfJung
Automatic Rustup
Diffstat (limited to 'compiler/rustc_errors/src')
| -rw-r--r-- | compiler/rustc_errors/src/emitter.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_errors/src/emitter.rs b/compiler/rustc_errors/src/emitter.rs index 245deda50d5..7405705dd33 100644 --- a/compiler/rustc_errors/src/emitter.rs +++ b/compiler/rustc_errors/src/emitter.rs @@ -1905,7 +1905,7 @@ impl HumanEmitter { // // LL | this line was highlighted // LL | this line is just for context - // ... + // ... // LL | this line is just for context // LL | this line was highlighted _ => { @@ -1926,7 +1926,7 @@ impl HumanEmitter { ) } - buffer.puts(row_num, max_line_num_len - 1, "...", Style::LineNumber); + buffer.puts(row_num, 0, "...", Style::LineNumber); row_num += 1; if let Some((p, l)) = last_line { |
