File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
- // compile-flags: -Z simulate-remapped-rust-src-base=/rustc/xyz -Z translate-remapped-path-to-local-path=no
1
+ // compile-flags: -Z simulate-remapped-rust-src-base=/rustc/xyz -Z translate-remapped-path-to-local-path=no -Z ui-testing=no
2
2
// normalize-stderr-test "alloc[0-9]+" -> "ALLOC_ID"
3
3
4
4
#![ feature( const_swap) ]
Original file line number Diff line number Diff line change @@ -16,11 +16,11 @@ note: inside `swap_nonoverlapping::<MaybeUninit<u8>>`
16
16
note: inside `X`
17
17
--> $DIR/missing_span_in_backtrace.rs:17:9
18
18
|
19
- LL | / ptr::swap_nonoverlapping(
20
- LL | | &mut ptr1 as *mut _ as *mut MaybeUninit<u8>,
21
- LL | | &mut ptr2 as *mut _ as *mut MaybeUninit<u8>,
22
- LL | | mem::size_of::<&i32>(),
23
- LL | | );
19
+ 17 | / ptr::swap_nonoverlapping(
20
+ 18 | | &mut ptr1 as *mut _ as *mut MaybeUninit<u8>,
21
+ 19 | | &mut ptr2 as *mut _ as *mut MaybeUninit<u8>,
22
+ 20 | | mem::size_of::<&i32>(),
23
+ 21 | | );
24
24
| |_________^
25
25
26
26
error: aborting due to previous error
You can’t perform that action at this time.
0 commit comments