Avoid remapping paths back to $SRC_DIR in CI
This commit is contained in:
parent
084ed15403
commit
8aff39130f
2 changed files with 6 additions and 6 deletions
|
|
@ -1,4 +1,4 @@
|
|||
// compile-flags: -Z simulate-remapped-rust-src-base=/rustc/xyz -Z translate-remapped-path-to-local-path=no
|
||||
// compile-flags: -Z simulate-remapped-rust-src-base=/rustc/xyz -Z translate-remapped-path-to-local-path=no -Z ui-testing=no
|
||||
// normalize-stderr-test "alloc[0-9]+" -> "ALLOC_ID"
|
||||
|
||||
#![feature(const_swap)]
|
||||
|
|
|
|||
|
|
@ -16,11 +16,11 @@ note: inside `swap_nonoverlapping::<MaybeUninit<u8>>`
|
|||
note: inside `X`
|
||||
--> $DIR/missing_span_in_backtrace.rs:17:9
|
||||
|
|
||||
LL | / ptr::swap_nonoverlapping(
|
||||
LL | | &mut ptr1 as *mut _ as *mut MaybeUninit<u8>,
|
||||
LL | | &mut ptr2 as *mut _ as *mut MaybeUninit<u8>,
|
||||
LL | | mem::size_of::<&i32>(),
|
||||
LL | | );
|
||||
17 | / ptr::swap_nonoverlapping(
|
||||
18 | | &mut ptr1 as *mut _ as *mut MaybeUninit<u8>,
|
||||
19 | | &mut ptr2 as *mut _ as *mut MaybeUninit<u8>,
|
||||
20 | | mem::size_of::<&i32>(),
|
||||
21 | | );
|
||||
| |_________^
|
||||
|
||||
error: aborting due to previous error
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue