summary refs log tree commit diff
path: root/src/test/ui/methods
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2020-04-13 11:36:37 +0900
committerYuki Okushi <huyuumi.dev@gmail.com>2020-04-13 11:36:37 +0900
commitef07cf45183a6fe1ad44be69e0e98bebc3136b8d (patch)
treeae43ac77dc1049d0836c398c3d12417136858e18 /src/test/ui/methods
parent9fed36055070168e5238d6bf6e58a36f519fe427 (diff)
downloadrust-ef07cf45183a6fe1ad44be69e0e98bebc3136b8d.tar.gz
rust-ef07cf45183a6fe1ad44be69e0e98bebc3136b8d.zip
Remove `FnCtxt::impl_self_ty`
Diffstat (limited to 'src/test/ui/methods')
-rw-r--r--src/test/ui/methods/method-deref-to-same-trait-object-with-separate-params.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/methods/method-deref-to-same-trait-object-with-separate-params.stderr b/src/test/ui/methods/method-deref-to-same-trait-object-with-separate-params.stderr
index e7f295df8c4..f6820be7e77 100644
--- a/src/test/ui/methods/method-deref-to-same-trait-object-with-separate-params.stderr
+++ b/src/test/ui/methods/method-deref-to-same-trait-object-with-separate-params.stderr
@@ -20,12 +20,12 @@ error[E0034]: multiple applicable items in scope
 LL |     let z = x.foo();
    |               ^^^ multiple `foo` found
    |
-note: candidate #1 is defined in an impl of the trait `internal::X` for the type `_`
+note: candidate #1 is defined in an impl of the trait `internal::X` for the type `T`
   --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:43:9
    |
 LL |         fn foo(self: Smaht<Self, u64>) -> u64 {
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-note: candidate #2 is defined in an impl of the trait `nuisance_foo::NuisanceFoo` for the type `_`
+note: candidate #2 is defined in an impl of the trait `nuisance_foo::NuisanceFoo` for the type `T`
   --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:70:9
    |
 LL |         fn foo(self) {}