diff options
| author | Andy Russell <arussell123@gmail.com> | 2020-05-04 18:12:06 -0400 |
|---|---|---|
| committer | Andy Russell <arussell123@gmail.com> | 2020-05-07 00:33:25 -0400 |
| commit | 9f88d75710b7fbc6d052b2a8dca40c7bd347166e (patch) | |
| tree | a26f6e1147e4b5f4a370c8347a671e3942e60077 /src/test/ui/impl-trait | |
| parent | 97f3eeec8216d7155c24674b9be55e7c672bcae3 (diff) | |
reword "possible candidate" import suggestion
Diffstat (limited to 'src/test/ui/impl-trait')
| -rw-r--r-- | src/test/ui/impl-trait/universal_wrong_bounds.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/impl-trait/universal_wrong_bounds.stderr b/src/test/ui/impl-trait/universal_wrong_bounds.stderr index 32b638dc465..3b1a5e5f4ad 100644 --- a/src/test/ui/impl-trait/universal_wrong_bounds.stderr +++ b/src/test/ui/impl-trait/universal_wrong_bounds.stderr @@ -4,7 +4,7 @@ error[E0404]: expected trait, found derive macro `Debug` LL | fn wants_debug(g: impl Debug) { } | ^^^^^ not a trait | -help: possible better candidate is found in another module, you can import it into scope +help: consider importing this trait instead | LL | use std::fmt::Debug; | @@ -15,7 +15,7 @@ error[E0404]: expected trait, found derive macro `Debug` LL | fn wants_display(g: impl Debug) { } | ^^^^^ not a trait | -help: possible better candidate is found in another module, you can import it into scope +help: consider importing this trait instead | LL | use std::fmt::Debug; | |
