review comments
This commit is contained in:
parent
0eb29d1a44
commit
d137b7ac11
2 changed files with 16 additions and 15 deletions
|
|
@ -6,7 +6,7 @@ LL | trait A: Sized {
|
|||
LL | fn f(a: A) -> A;
|
||||
| ^ ^
|
||||
|
|
||||
help: you might have meant to use `Self` to refer to the materialized type
|
||||
help: you might have meant to use `Self` to refer to the implementing type
|
||||
|
|
||||
LL | fn f(a: Self) -> Self;
|
||||
| ^^^^ ^^^^
|
||||
|
|
@ -29,7 +29,7 @@ LL | trait B {
|
|||
LL | fn f(a: B) -> B;
|
||||
| ^ ^
|
||||
|
|
||||
help: you might have meant to use `Self` to refer to the materialized type
|
||||
help: you might have meant to use `Self` to refer to the implementing type
|
||||
|
|
||||
LL | fn f(a: Self) -> Self;
|
||||
| ^^^^ ^^^^
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue