diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2024-02-13 23:05:23 +0000 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2024-02-22 18:05:27 +0000 |
| commit | caa216d2451e669a8efd1e2ef19b57fb010fde75 (patch) | |
| tree | 68028c4356ff097b4b867d3905dfbcc44518bc9f /tests/ui/underscore-imports | |
| parent | 14277ef20128751ce6cc1c8ebd48f988c6607f21 (diff) | |
| download | rust-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.stderr | 2 |
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; | |
