1 #![feature(box_syntax)]
4 Foo1(Box<u32>, Box<u32>),
10 let f = &Foo::Foo1(box 1, box 2);
11 match *f { //~ ERROR cannot move out of
24 fn drop(&mut self) { println!("{}", self.f); }
28 match (S {f: "foo".to_string(), g: "bar".to_string()}) {
29 //~^ ERROR cannot move out of type `S`, which implements the `Drop` trait
45 let a = &A { a: box 1 };
46 match a.a { //~ ERROR cannot move out of