about summary refs log tree commit diff
path: root/tests/ui/underscore-imports
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2024-02-13 23:05:23 +0000
committerEsteban Küber <esteban@kuber.com.ar>2024-02-22 18:05:27 +0000
commitcaa216d2451e669a8efd1e2ef19b57fb010fde75 (patch)
tree68028c4356ff097b4b867d3905dfbcc44518bc9f /tests/ui/underscore-imports
parent14277ef20128751ce6cc1c8ebd48f988c6607f21 (diff)
downloadrust-caa216d2451e669a8efd1e2ef19b57fb010fde75.tar.gz
rust-caa216d2451e669a8efd1e2ef19b57fb010fde75.zip
Tweak wording of "implemented trait isn't imported" suggestion
Diffstat (limited to 'tests/ui/underscore-imports')
-rw-r--r--tests/ui/underscore-imports/shadow.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/underscore-imports/shadow.stderr b/tests/ui/underscore-imports/shadow.stderr
index da263163892..4743d14dfb9 100644
--- a/tests/ui/underscore-imports/shadow.stderr
+++ b/tests/ui/underscore-imports/shadow.stderr
@@ -5,7 +5,7 @@ LL |         x.deref();
    |           ^^^^^ method not found in `&()`
    |
    = help: items from traits can only be used if the trait is in scope
-help: the following trait is implemented but not in scope; perhaps add a `use` for it:
+help: trait `Deref` which provides `deref` is implemented but not in scope; perhaps you want to import it
    |
 LL +     use std::ops::Deref;
    |