about summary refs log tree commit diff
path: root/tests/ui/pub
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2025-02-13 02:54:07 +0000
committerJubilee Young <workingjubilee@gmail.com>2025-02-14 00:27:13 -0800
commitb480a9214a7037813d29bc04d9e9dbe92ce10cf3 (patch)
tree748aa792f61b46d7c679f157c8c8a3ad9df380f6 /tests/ui/pub
parent6dfeab5c9e8a17a6636c1479037baabc4b1e9562 (diff)
downloadrust-b480a9214a7037813d29bc04d9e9dbe92ce10cf3.tar.gz
rust-b480a9214a7037813d29bc04d9e9dbe92ce10cf3.zip
Use underline suggestions for purely 'additive' replacements
Diffstat (limited to 'tests/ui/pub')
-rw-r--r--tests/ui/pub/pub-ident-fn-or-struct.stderr5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/ui/pub/pub-ident-fn-or-struct.stderr b/tests/ui/pub/pub-ident-fn-or-struct.stderr
index 1bdb547be1e..ceadc510c63 100644
--- a/tests/ui/pub/pub-ident-fn-or-struct.stderr
+++ b/tests/ui/pub/pub-ident-fn-or-struct.stderr
@@ -6,9 +6,8 @@ LL | pub S (foo) bar
    |
 help: if you meant to call a macro, try
    |
-LL - pub S (foo) bar
-LL + pub S! (foo) bar
-   |
+LL | pub S! (foo) bar
+   |     ~~
 
 error: aborting due to 1 previous error