File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -465,7 +465,7 @@ impl EmitterWriter {
465
465
span : & mut MultiSpan ,
466
466
children : & mut Vec < SubDiagnostic > ) {
467
467
let mut spans_updated = self . fix_multispan_in_std_macros ( span) ;
468
- for child in & mut children. iter_mut ( ) {
468
+ for child in children. iter_mut ( ) {
469
469
spans_updated |= self . fix_multispan_in_std_macros ( & mut child. span ) ;
470
470
}
471
471
if spans_updated {
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ error[E0308]: mismatched types
4
4
26 | $arr.len() * size_of($arr[0]));
5
5
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected u64, found usize
6
6
...
7
- 38 | write!(hello);
7
+ 37 | write!(hello);
8
8
| -------------- in this macro invocation
9
9
10
10
error: non-scalar cast: `{integer}` as `()`
@@ -13,7 +13,7 @@ error: non-scalar cast: `{integer}` as `()`
13
13
32 | ($x:expr) => ($x as ())
14
14
| ^^^^^^^^
15
15
...
16
- 39 | cast!(2);
16
+ 38 | cast!(2);
17
17
| --------- in this macro invocation
18
18
19
19
error: aborting due to 2 previous errors
You can’t perform that action at this time.
0 commit comments