diff options
| author | Ilija Tovilo <ilija.tovilo@me.com> | 2019-07-24 02:25:01 +0200 |
|---|---|---|
| committer | Ilija Tovilo <ilija.tovilo@me.com> | 2019-07-24 03:03:52 +0200 |
| commit | be510dbc35960c9d90f42811787eea2acef8ffe5 (patch) | |
| tree | 425f461f9720997088ccf80e3727c94ea7ef61c2 /src/test/ui/error-codes | |
| parent | bd8813e52c5120c40ec3cca096ff4a98fdf56be8 (diff) | |
| download | rust-be510dbc35960c9d90f42811787eea2acef8ffe5.tar.gz rust-be510dbc35960c9d90f42811787eea2acef8ffe5.zip | |
Adjust tests for method disambiguation help
Diffstat (limited to 'src/test/ui/error-codes')
| -rw-r--r-- | src/test/ui/error-codes/E0034.stderr | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/ui/error-codes/E0034.stderr b/src/test/ui/error-codes/E0034.stderr index 816a48f102d..a58d16bfafb 100644 --- a/src/test/ui/error-codes/E0034.stderr +++ b/src/test/ui/error-codes/E0034.stderr @@ -9,11 +9,13 @@ note: candidate #1 is defined in an impl of the trait `Trait1` for the type `Tes | LL | fn foo() {} | ^^^^^^^^ + = help: to disambiguate the method call, write `Trait1::foo(...)` instead note: candidate #2 is defined in an impl of the trait `Trait2` for the type `Test` --> $DIR/E0034.rs:16:5 | LL | fn foo() {} | ^^^^^^^^ + = help: to disambiguate the method call, write `Trait2::foo(...)` instead error: aborting due to previous error |
