Avoid remapping paths back to $SRC_DIR in CI

This commit is contained in:
Oli Scherer 2022-12-07 09:19:49 +00:00
parent 084ed15403
commit 8aff39130f
2 changed files with 6 additions and 6 deletions

View file

@ -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)]

View file

@ -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