2 Foo1(Box<u32>, Box<u32>),
10 let f = &Foo::Foo1(Box::new(1), Box::new(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::new(1) };
46 match a.a { //~ ERROR cannot move out of