2023-03-11 17:32:54 -06:00
|
|
|
- // MIR for `read_via_copy_uninhabited` before LowerIntrinsics
|
|
|
|
+ // MIR for `read_via_copy_uninhabited` after LowerIntrinsics
|
|
|
|
|
|
|
|
fn read_via_copy_uninhabited(_1: &Never) -> Never {
|
|
|
|
debug r => _1; // in scope 0 at $DIR/lower_intrinsics.rs:+0:34: +0:35
|
|
|
|
let mut _0: Never; // return place in scope 0 at $DIR/lower_intrinsics.rs:+0:48: +0:53
|
|
|
|
let mut _2: *const Never; // in scope 0 at $DIR/lower_intrinsics.rs:+1:46: +1:47
|
|
|
|
scope 1 {
|
|
|
|
}
|
|
|
|
|
|
|
|
bb0: {
|
|
|
|
StorageLive(_2); // scope 1 at $DIR/lower_intrinsics.rs:+1:46: +1:47
|
|
|
|
_2 = &raw const (*_1); // scope 1 at $DIR/lower_intrinsics.rs:+1:46: +1:47
|
2023-04-05 03:17:40 -05:00
|
|
|
- _0 = read_via_copy::<Never>(move _2) -> unwind unreachable; // scope 1 at $DIR/lower_intrinsics.rs:+1:14: +1:48
|
2023-03-11 17:32:54 -06:00
|
|
|
- // mir::Constant
|
2023-06-01 01:58:20 -05:00
|
|
|
- // + span: $DIR/lower_intrinsics.rs:130:14: 130:45
|
2023-03-11 17:32:54 -06:00
|
|
|
- // + literal: Const { ty: unsafe extern "rust-intrinsic" fn(*const Never) -> Never {read_via_copy::<Never>}, val: Value(<ZST>) }
|
|
|
|
+ unreachable; // scope 1 at $DIR/lower_intrinsics.rs:+1:14: +1:48
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|