about summary refs log tree commit diff
path: root/tests/ui/imports
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/imports
parent0a7ab1d6df4a2cfac819b0bada85b9142ac8ba26 (diff)
downloadrust-160905b6253f42967ed4aef4b98002944c7df24c.tar.gz
rust-160905b6253f42967ed4aef4b98002944c7df24c.zip
Trim suggestion part before generating highlights
Diffstat (limited to 'tests/ui/imports')
-rw-r--r--tests/ui/imports/issue-45799-bad-extern-crate-rename-suggestion-formatting.stderr2
-rw-r--r--tests/ui/imports/issue-45829/rename-extern-vs-use.stderr2
-rw-r--r--tests/ui/imports/issue-45829/rename-extern.stderr2
-rw-r--r--tests/ui/imports/multiple-extern-by-macro-for-buitlin.stderr2
-rw-r--r--tests/ui/imports/multiple-extern-by-macro-for-custom.stderr2
-rw-r--r--tests/ui/imports/multiple-extern-by-macro-for-inexist.stderr2
6 files changed, 6 insertions, 6 deletions
diff --git a/tests/ui/imports/issue-45799-bad-extern-crate-rename-suggestion-formatting.stderr b/tests/ui/imports/issue-45799-bad-extern-crate-rename-suggestion-formatting.stderr
index 80cea1a83d9..2621f913186 100644
--- a/tests/ui/imports/issue-45799-bad-extern-crate-rename-suggestion-formatting.stderr
+++ b/tests/ui/imports/issue-45799-bad-extern-crate-rename-suggestion-formatting.stderr
@@ -8,7 +8,7 @@ LL | extern crate std;
 help: you can use `as` to change the binding name of the import
    |
 LL | extern crate std as other_std;
-   |
+   |                  ++++++++++++
 
 error: aborting due to 1 previous error
 
diff --git a/tests/ui/imports/issue-45829/rename-extern-vs-use.stderr b/tests/ui/imports/issue-45829/rename-extern-vs-use.stderr
index 8f2f7bbac0c..f33b093725f 100644
--- a/tests/ui/imports/issue-45829/rename-extern-vs-use.stderr
+++ b/tests/ui/imports/issue-45829/rename-extern-vs-use.stderr
@@ -10,7 +10,7 @@ LL | extern crate issue_45829_b as bar;
 help: you can use `as` to change the binding name of the import
    |
 LL | extern crate issue_45829_b as other_bar;
-   |
+   |                               ++++++
 
 error: aborting due to 1 previous error
 
diff --git a/tests/ui/imports/issue-45829/rename-extern.stderr b/tests/ui/imports/issue-45829/rename-extern.stderr
index 46560ef9244..2a3a05d1e7b 100644
--- a/tests/ui/imports/issue-45829/rename-extern.stderr
+++ b/tests/ui/imports/issue-45829/rename-extern.stderr
@@ -10,7 +10,7 @@ LL | extern crate issue_45829_b as issue_45829_a;
 help: you can use `as` to change the binding name of the import
    |
 LL | extern crate issue_45829_b as other_issue_45829_a;
-   |
+   |                               ++++++
 
 error: aborting due to 1 previous error
 
diff --git a/tests/ui/imports/multiple-extern-by-macro-for-buitlin.stderr b/tests/ui/imports/multiple-extern-by-macro-for-buitlin.stderr
index a84a6c42aa8..bc975573281 100644
--- a/tests/ui/imports/multiple-extern-by-macro-for-buitlin.stderr
+++ b/tests/ui/imports/multiple-extern-by-macro-for-buitlin.stderr
@@ -15,7 +15,7 @@ LL | m!();
 help: you can use `as` to change the binding name of the import
    |
 LL |         extern crate std as other_core;
-   |
+   |                             ++++++
 
 error: aborting due to 1 previous error
 
diff --git a/tests/ui/imports/multiple-extern-by-macro-for-custom.stderr b/tests/ui/imports/multiple-extern-by-macro-for-custom.stderr
index 556d75a4dbb..f1b60bbe39d 100644
--- a/tests/ui/imports/multiple-extern-by-macro-for-custom.stderr
+++ b/tests/ui/imports/multiple-extern-by-macro-for-custom.stderr
@@ -15,7 +15,7 @@ LL | m!();
 help: you can use `as` to change the binding name of the import
    |
 LL |         extern crate std as other_empty;
-   |
+   |                             ++++++
 
 error: aborting due to 1 previous error
 
diff --git a/tests/ui/imports/multiple-extern-by-macro-for-inexist.stderr b/tests/ui/imports/multiple-extern-by-macro-for-inexist.stderr
index ec34489f232..13e1aaacd70 100644
--- a/tests/ui/imports/multiple-extern-by-macro-for-inexist.stderr
+++ b/tests/ui/imports/multiple-extern-by-macro-for-inexist.stderr
@@ -21,7 +21,7 @@ LL | m!();
 help: you can use `as` to change the binding name of the import
    |
 LL |         extern crate std as other_non_existent;
-   |
+   |                             ++++++
 
 error: aborting due to 2 previous errors