Skip to content

Commit fcfefd8

Browse files
committed
stabilize (const_)ptr_sub_ptr
1 parent 734999a commit fcfefd8

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

tests/fail/intrinsics/ptr_offset_from_unsigned_neg.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
//@normalize-stderr-test: "\d+ < \d+" -> "$$ADDR < $$ADDR"
2-
#![feature(ptr_sub_ptr)]
3-
42
fn main() {
53
let arr = [0u8; 8];
64
let ptr1 = arr.as_ptr();

tests/pass/ptr_offset.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//@compile-flags: -Zmiri-permissive-provenance
2-
#![feature(ptr_sub_ptr)]
32
use std::{mem, ptr};
43

54
fn main() {

0 commit comments

Comments
 (0)