3 fn drop(&self) { println(**self); }
9 //~^ ERROR cannot move out of type `S`, which defines the `Drop` trait
14 let S(_s) = S(~"foo");
15 //~^ ERROR cannot move out of type `S`, which defines the `Drop` trait
18 fn move_in_fn_arg(S(_s): S) {
19 //~^ ERROR cannot move out of type `S`, which defines the `Drop` trait