about summary refs log tree commit diff
path: root/tests/ui/loops
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2024-06-20 04:25:17 +0000
committerEsteban Küber <esteban@kuber.com.ar>2024-06-20 04:25:17 +0000
commit9fd7784b9747e731c86899720f933b8bdbffe907 (patch)
tree06e31acd61461a119e8412ff1bff80bff7af48a5 /tests/ui/loops
parent3d5d7a24f76006b391d8a53d903ae64c1b4a52d2 (diff)
downloadrust-9fd7784b9747e731c86899720f933b8bdbffe907.tar.gz
rust-9fd7784b9747e731c86899720f933b8bdbffe907.zip
Fix `...` in multline code-skips in suggestions
When we have long code skips, we write `...` in the line number gutter.

For suggestions, we were "centering" the `...` with the line, but that was consistent with what we do in every other case.
Diffstat (limited to 'tests/ui/loops')
-rw-r--r--tests/ui/loops/loop-else-break-with-value.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/loops/loop-else-break-with-value.stderr b/tests/ui/loops/loop-else-break-with-value.stderr
index 13d4c5faf73..ca18f0fdd7f 100644
--- a/tests/ui/loops/loop-else-break-with-value.stderr
+++ b/tests/ui/loops/loop-else-break-with-value.stderr
@@ -27,7 +27,7 @@ help: you might want to use `if let` to ignore the variant that isn't matched
    |
 LL ~     if let Some(1) = loop {
 LL |
- ...
+...
 LL |         return;
 LL ~     } { todo!() };
    |