diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2021-08-26 20:17:19 +0200 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2021-09-02 19:08:59 +0200 |
| commit | bd2f08c22fa89dbbcccc56a04231cfb63a80132e (patch) | |
| tree | d718c094cb51f42862ccba56050c2421fb1e6b35 /src/test/ui/rust-2018 | |
| parent | fa2bc4f40005c7b318ec91dac3222141bf8e9833 (diff) | |
| download | rust-bd2f08c22fa89dbbcccc56a04231cfb63a80132e.tar.gz rust-bd2f08c22fa89dbbcccc56a04231cfb63a80132e.zip | |
Bless tests.
Diffstat (limited to 'src/test/ui/rust-2018')
| -rw-r--r-- | src/test/ui/rust-2018/trait-import-suggestions.stderr | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/test/ui/rust-2018/trait-import-suggestions.stderr b/src/test/ui/rust-2018/trait-import-suggestions.stderr index 2cf5a073fe5..eb4e43aaec3 100644 --- a/src/test/ui/rust-2018/trait-import-suggestions.stderr +++ b/src/test/ui/rust-2018/trait-import-suggestions.stderr @@ -8,8 +8,10 @@ LL | x.foobar(); | ^^^^^^ method not found in `u32` | = help: items from traits can only be used if the trait is in scope - = note: the following trait is implemented but not in scope; perhaps add a `use` for it: - `use crate::foo::foobar::Foobar;` +help: the following trait is implemented but not in scope; perhaps add a `use` for it: + | +LL | use crate::foo::foobar::Foobar; + | error[E0599]: no method named `bar` found for type `u32` in the current scope --> $DIR/trait-import-suggestions.rs:28:7 |
