Skip to content

Commit 8aff391

Browse files
committed
Avoid remapping paths back to $SRC_DIR in CI
1 parent 084ed15 commit 8aff391

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/test/ui/consts/missing_span_in_backtrace.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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
22
// normalize-stderr-test "alloc[0-9]+" -> "ALLOC_ID"
33

44
#![feature(const_swap)]

src/test/ui/consts/missing_span_in_backtrace.stderr

+5-5
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ note: inside `swap_nonoverlapping::<MaybeUninit<u8>>`
1616
note: inside `X`
1717
--> $DIR/missing_span_in_backtrace.rs:17:9
1818
|
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 | | );
2424
| |_________^
2525

2626
error: aborting due to previous error

0 commit comments

Comments
 (0)