Updated MIR with UserAssertTy in mir-opt tests.
This commit is contained in:
parent
447ae7612a
commit
03481f19ea
@ -23,6 +23,8 @@
|
||||
// tend to be absent in simple code, so subtle breakage in them can
|
||||
// leave a quite hard-to-find trail of destruction.
|
||||
|
||||
// ignore-tidy-linelength
|
||||
|
||||
fn main() {
|
||||
let nodrop_x = false;
|
||||
let nodrop_y;
|
||||
@ -46,6 +48,7 @@ fn main() {
|
||||
// _2 = move _3;
|
||||
// StorageDead(_3);
|
||||
// StorageLive(_4);
|
||||
// UserAssertTy(Canonical { variables: Slice([]), value: std::option::Option<std::boxed::Box<u32>> }, _4);
|
||||
// _4 = std::option::Option<std::boxed::Box<u32>>::None;
|
||||
// StorageLive(_5);
|
||||
// StorageLive(_6);
|
||||
|
@ -28,9 +28,9 @@ fn main() {
|
||||
|
||||
// END RUST SOURCE
|
||||
// START rustc.main.nll.0.mir
|
||||
// | '_#7r | {bb0[6..=14]}
|
||||
// | '_#7r | {bb0[4], bb0[8..=17]}
|
||||
// ...
|
||||
// | '_#9r | {bb0[11..=14]}
|
||||
// | '_#9r | {bb0[10], bb0[14..=17]}
|
||||
// ...
|
||||
// let _2: &'_#7r mut i32;
|
||||
// ...
|
||||
|
Loading…
x
Reference in New Issue
Block a user