review comments

This commit is contained in:
Esteban Küber 2019-04-29 19:56:50 -07:00
parent ff68673387
commit 693eea5784
4 changed files with 60 additions and 64 deletions

View file

@ -23,7 +23,7 @@ LL | let &&x = &1isize as &T;
| ^^
| |
| expected trait T, found reference
| help: you can probaly remove the explicit borrow: `x`
| help: you can probably remove the explicit borrow: `x`
|
= note: expected type `dyn T`
found type `&_`
@ -35,7 +35,7 @@ LL | let &&&x = &(&1isize as &T);
| ^^
| |
| expected trait T, found reference
| help: you can probaly remove the explicit borrow: `x`
| help: you can probably remove the explicit borrow: `x`
|
= note: expected type `dyn T`
found type `&_`

View file

@ -15,7 +15,7 @@ LL | fn agh(&&bar: &u32) {
| ^^^^
| |
| expected u32, found reference
| help: you can probaly remove the explicit borrow: `bar`
| help: you can probably remove the explicit borrow: `bar`
|
= note: expected type `u32`
found type `&_`

View file

@ -5,7 +5,7 @@ LL | [&v] => {},
| ^^
| |
| expected i32, found reference
| help: you can probaly remove the explicit borrow: `v`
| help: you can probably remove the explicit borrow: `v`
|
= note: expected type `i32`
found type `&_`