Remove FnCtxt::impl_self_ty
This commit is contained in:
parent
9fed360550
commit
ef07cf4518
8 changed files with 9 additions and 35 deletions
|
|
@ -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) {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue