Skip to content

Commit dcfef5a

Browse files
author
The Miri Cronjob Bot
committed
Merge from rustc
2 parents 59b951c + 0a78e27 commit dcfef5a

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/alloc_bytes.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,4 +112,8 @@ impl AllocBytes for MiriAllocBytes {
112112
fn as_mut_ptr(&mut self) -> *mut u8 {
113113
self.ptr
114114
}
115+
116+
fn as_ptr(&self) -> *const u8 {
117+
self.ptr
118+
}
115119
}

tests/fail/intrinsic_fallback_is_spec.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![feature(rustc_attrs, effects)]
1+
#![feature(rustc_attrs)]
22

33
#[rustc_intrinsic]
44
#[rustc_nounwind]

0 commit comments

Comments
 (0)