Remove FnCtxt::impl_self_ty

This commit is contained in:
Yuki Okushi 2020-04-13 11:36:37 +09:00
parent 9fed360550
commit ef07cf4518
No known key found for this signature in database
GPG key ID: B0986C85C0E2DAA1
8 changed files with 9 additions and 35 deletions

View file

@ -7,7 +7,7 @@ LL | x.foo();
| | multiple `foo` found
| help: disambiguate the method call for candidate #2: `T::foo(&x)`
|
note: candidate #1 is defined in an impl for the type `dyn T`
note: candidate #1 is defined in an impl for the type `(dyn T + 'a)`
--> $DIR/issue-18446.rs:9:5
|
LL | fn foo(&self) {}