Skip to content

Commit c48b8c7

Browse files
committed
Preparing for a rustc behavior change that'll happen soon
1 parent b514667 commit c48b8c7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/fail/intrinsics/ptr_offset_from_unsigned_neg.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
//@error-pattern: first pointer has smaller offset than second: 0 < 4
2+
// Preparing for a rustc behavior change that'll happen soon: (FIXME remove this after the next submodule bump succeeded)
3+
//@normalize-stderr-test: "`(ptr_offset_from_unsigned)`" -> "$1"
24
#![feature(ptr_sub_ptr)]
35

46
fn main() {

0 commit comments

Comments
 (0)