1 error: immediately dereferencing a reference
2 --> $DIR/deref_addrof.rs:19:13
5 | ^^^ help: try this: `a`
7 = note: `-D clippy::deref-addrof` implied by `-D warnings`
9 error: immediately dereferencing a reference
10 --> $DIR/deref_addrof.rs:21:13
12 LL | let b = *&get_number();
13 | ^^^^^^^^^^^^^^ help: try this: `get_number()`
15 error: immediately dereferencing a reference
16 --> $DIR/deref_addrof.rs:26:13
18 LL | let b = *&bytes[1..2][0];
19 | ^^^^^^^^^^^^^^^^ help: try this: `bytes[1..2][0]`
21 error: immediately dereferencing a reference
22 --> $DIR/deref_addrof.rs:30:13
25 | ^^^^^ help: try this: `(a)`
27 error: immediately dereferencing a reference
28 --> $DIR/deref_addrof.rs:32:13
31 | ^^^^^ help: try this: `a`
33 error: immediately dereferencing a reference
34 --> $DIR/deref_addrof.rs:35:13
37 | ^^^^^^^ help: try this: `a`
39 error: immediately dereferencing a reference
40 --> $DIR/deref_addrof.rs:37:13
43 | ^^^^ help: try this: `&a`
45 error: immediately dereferencing a reference
46 --> $DIR/deref_addrof.rs:39:14
49 | ^^^^^^ help: try this: `aref`
51 error: immediately dereferencing a reference
52 --> $DIR/deref_addrof.rs:47:9
55 | ^^^^^^^^^^^ help: try this: `$visitor`
58 | -------- in this macro invocation
60 = note: this error originates in the macro `m` (in Nightly builds, run with -Z macro-backtrace for more info)
62 error: immediately dereferencing a reference
63 --> $DIR/deref_addrof.rs:54:9
66 | ^^^^^^^^^^^^^^^ help: try this: `$visitor`
69 | ------------ in this macro invocation
71 = note: this error originates in the macro `m_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
73 error: aborting due to 10 previous errors