review comments

This commit is contained in:
Esteban Küber 2020-01-25 14:28:23 -08:00
parent 0eb29d1a44
commit d137b7ac11
2 changed files with 16 additions and 15 deletions

View file

@ -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;
| ^^^^ ^^^^