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/coherence | |
| parent | fa2bc4f40005c7b318ec91dac3222141bf8e9833 (diff) | |
| download | rust-bd2f08c22fa89dbbcccc56a04231cfb63a80132e.tar.gz rust-bd2f08c22fa89dbbcccc56a04231cfb63a80132e.zip | |
Bless tests.
Diffstat (limited to 'src/test/ui/coherence')
| -rw-r--r-- | src/test/ui/coherence/coherence_inherent.stderr | 6 | ||||
| -rw-r--r-- | src/test/ui/coherence/coherence_inherent_cc.stderr | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/src/test/ui/coherence/coherence_inherent.stderr b/src/test/ui/coherence/coherence_inherent.stderr index 6f36f2a7510..46b128c08fe 100644 --- a/src/test/ui/coherence/coherence_inherent.stderr +++ b/src/test/ui/coherence/coherence_inherent.stderr @@ -5,8 +5,10 @@ LL | s.the_fn(); | ^^^^^^ method not found in `&TheStruct` | = 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 Lib::TheTrait;` +help: the following trait is implemented but not in scope; perhaps add a `use` for it: + | +LL | use Lib::TheTrait; + | error: aborting due to previous error diff --git a/src/test/ui/coherence/coherence_inherent_cc.stderr b/src/test/ui/coherence/coherence_inherent_cc.stderr index edfe6348d17..af0ef3b6932 100644 --- a/src/test/ui/coherence/coherence_inherent_cc.stderr +++ b/src/test/ui/coherence/coherence_inherent_cc.stderr @@ -5,8 +5,10 @@ LL | s.the_fn(); | ^^^^^^ method not found in `&TheStruct` | = 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 coherence_inherent_cc_lib::TheTrait;` +help: the following trait is implemented but not in scope; perhaps add a `use` for it: + | +LL | use coherence_inherent_cc_lib::TheTrait; + | error: aborting due to previous error |
