2024-08-13 13:17:04 -05: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);
|
2024-09-15 12:35:06 -05:00
|
|
|
_1 = foo as for<'a> fn(&'a (), &'a ()) (PointerCoercion(ReifyFnPointer, AsCast));
|
2024-08-13 13:17:04 -05:00
|
|
|
FakeRead(ForLet(None), _1);
|
|
|
|
_0 = const ();
|
|
|
|
StorageDead(_1);
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|