@@ -50,20 +50,32 @@ LL | let b = **&aref;
50
50
| ^^^^^^ help: try: `aref`
51
51
52
52
error: immediately dereferencing a reference
53
- --> tests/ui/deref_addrof.rs:53:17
53
+ --> tests/ui/deref_addrof.rs:48:19
54
+ |
55
+ LL | let _repeat = *&[0; 64];
56
+ | ^^^^^^^^^ help: try: `[0; 64]`
57
+
58
+ error: immediately dereferencing a reference
59
+ --> tests/ui/deref_addrof.rs:49:16
60
+ |
61
+ LL | let _arr = *&[0, 1, 2, 3, 4];
62
+ | ^^^^^^^^^^^^^^^^^ help: try: `[0, 1, 2, 3, 4]`
63
+
64
+ error: immediately dereferencing a reference
65
+ --> tests/ui/deref_addrof.rs:57:17
54
66
|
55
67
LL | inline!(*& $(@expr self))
56
68
| ^^^^^^^^^^^^^^^^ help: try: `$(@expr self)`
57
69
|
58
70
= note: this error originates in the macro `__inline_mac_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
59
71
60
72
error: immediately dereferencing a reference
61
- --> tests/ui/deref_addrof.rs:57 :17
73
+ --> tests/ui/deref_addrof.rs:61 :17
62
74
|
63
75
LL | inline!(*&mut $(@expr self))
64
76
| ^^^^^^^^^^^^^^^^^^^ help: try: `$(@expr self)`
65
77
|
66
78
= note: this error originates in the macro `__inline_mac_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
67
79
68
- error: aborting due to 10 previous errors
80
+ error: aborting due to 12 previous errors
69
81
0 commit comments