1 2 3 4 5 6 7 8 9 10 11
// See issue #12534. fn main() {} struct A(Box<u8>); fn f(a @ A(u): A) -> Box<u8> { //~^ ERROR use of partially moved value drop(a); u }