2019-04-16 18:26:55 +00:00
|
|
|
error: immediately dereferencing a reference
|
2019-09-19 21:57:15 +00:00
|
|
|
--> $DIR/deref_addrof_double_trigger.rs:10:14
|
2019-04-16 18:26:55 +00:00
|
|
|
|
|
|
|
|
LL | let b = **&&a;
|
|
|
|
| ^^^^ help: try this: `&a`
|
|
|
|
|
|
|
|
|
= note: `-D clippy::deref-addrof` implied by `-D warnings`
|
|
|
|
|
|
|
|
error: immediately dereferencing a reference
|
2019-09-19 21:57:15 +00:00
|
|
|
--> $DIR/deref_addrof_double_trigger.rs:14:17
|
2019-04-16 18:26:55 +00:00
|
|
|
|
|
|
|
|
LL | let y = *&mut x;
|
|
|
|
| ^^^^^^^ help: try this: `x`
|
|
|
|
|
|
|
|
error: immediately dereferencing a reference
|
2019-09-19 21:57:15 +00:00
|
|
|
--> $DIR/deref_addrof_double_trigger.rs:21:18
|
2019-04-16 18:26:55 +00:00
|
|
|
|
|
|
|
|
LL | let y = **&mut &mut x;
|
|
|
|
| ^^^^^^^^^^^^ help: try this: `&mut x`
|
|
|
|
|
|
|
|
error: aborting due to 3 previous errors
|
|
|
|
|