about summary refs log tree commit diff
path: root/tests/ui/error-codes
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2025-02-21 00:29:56 +0000
committerMichael Goulet <michael@errs.io>2025-02-21 00:54:01 +0000
commit160905b6253f42967ed4aef4b98002944c7df24c (patch)
treef9b1d1c27a5beb012e272ecfdecfda62f8419a7b /tests/ui/error-codes
parent0a7ab1d6df4a2cfac819b0bada85b9142ac8ba26 (diff)
downloadrust-160905b6253f42967ed4aef4b98002944c7df24c.tar.gz
rust-160905b6253f42967ed4aef4b98002944c7df24c.zip
Trim suggestion part before generating highlights
Diffstat (limited to 'tests/ui/error-codes')
-rw-r--r--tests/ui/error-codes/E0259.stderr2
-rw-r--r--tests/ui/error-codes/E0260.stderr2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/error-codes/E0259.stderr b/tests/ui/error-codes/E0259.stderr
index 975d1a161a0..1833fe90f3d 100644
--- a/tests/ui/error-codes/E0259.stderr
+++ b/tests/ui/error-codes/E0259.stderr
@@ -11,7 +11,7 @@ LL | extern crate test as alloc;
 help: you can use `as` to change the binding name of the import
    |
 LL | extern crate test as other_alloc;
-   |
+   |                      ++++++
 
 error: aborting due to 1 previous error
 
diff --git a/tests/ui/error-codes/E0260.stderr b/tests/ui/error-codes/E0260.stderr
index 35698c65359..10811d1f318 100644
--- a/tests/ui/error-codes/E0260.stderr
+++ b/tests/ui/error-codes/E0260.stderr
@@ -11,7 +11,7 @@ LL | mod alloc {
 help: you can use `as` to change the binding name of the import
    |
 LL | extern crate alloc as other_alloc;
-   |
+   |                    ++++++++++++++
 
 error: aborting due to 1 previous error