0
0
mirror of https://github.com/rust-lang/rust.git synced 2024-11-28 09:36:05 +01:00
rust/tests/mir-opt/build_correct_coerce.main.built.after.mir

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
387 B
Rust
Raw Normal View History

2024-08-13 20:17:04 +02:00
// MIR for `main` after built
fn main() -> () {
let mut _0: ();
let _1: for<'a> fn(&'a (), &'a ());
scope 1 {
debug x => _1;
}
bb0: {
StorageLive(_1);
_1 = foo as for<'a> fn(&'a (), &'a ()) (PointerCoercion(ReifyFnPointer, AsCast));
2024-08-13 20:17:04 +02:00
FakeRead(ForLet(None), _1);
_0 = const ();
StorageDead(_1);
return;
}
}