3 #![feature(custom_mir, core_intrinsics)]
4 #![allow(unused_assignments)]
6 use core::intrinsics::mir::*;
8 fn opaque(_: impl Sized) -> bool { true }
12 #[custom_mir(dialect = "analysis", phase = "post-cleanup")]
13 fn f(a: Foo) -> bool {
17 // This is a move out of a copy, so must become a copy of `a.0`.
19 Call(RET, bb1, opaque(Move(a)))
22 Call(RET, ret, opaque(Move(c)))
34 // EMIT_MIR move_projection.f.CopyProp.diff