generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 142
Closed
Labels
T-High PriorityTag issues that have high priorityTag issues that have high priorityT-UserTag user issues / requestsTag user issues / requests[C] Feature / EnhancementA new feature request or enhancement to an existing feature.A new feature request or enhancement to an existing feature.[E] Unsupported ConstructAdd support to an unsupported constructAdd support to an unsupported construct
Milestone
Description
I tried this code:
#![feature(core_intrinsics)]
use std::intrinsics::r#try;
fn main() {
unsafe {
r#try(
|_a: *mut u8| panic!("foo"),
std::ptr::null_mut(),
|_a: *mut u8, _b: *mut u8| println!("bar"),
);
}
}using the following command line invocation:
rmc try.rs
with RMC version: 1.53
I expected to see this happen: It compiled
Instead, this happened: explanation
Crashed with an unimplemented on this construct
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
T-High PriorityTag issues that have high priorityTag issues that have high priorityT-UserTag user issues / requestsTag user issues / requests[C] Feature / EnhancementA new feature request or enhancement to an existing feature.A new feature request or enhancement to an existing feature.[E] Unsupported ConstructAdd support to an unsupported constructAdd support to an unsupported construct