review comments
This commit is contained in:
parent
ff68673387
commit
693eea5784
4 changed files with 60 additions and 64 deletions
|
|
@ -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 `&_`
|
||||
|
|
|
|||
|
|
@ -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 `&_`
|
||||
|
|
|
|||
|
|
@ -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 `&_`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue