2013-10-23 03:49:18 -05:00
|
|
|
#[feature(managed_boxes)];
|
|
|
|
|
2013-03-20 20:18:57 -05:00
|
|
|
struct Foo {
|
2013-12-31 17:46:27 -06:00
|
|
|
f: @int,
|
2013-03-20 20:18:57 -05:00
|
|
|
}
|
|
|
|
|
2013-06-06 20:54:14 -05:00
|
|
|
impl Drop for Foo { //~ ERROR cannot implement a destructor on a structure that does not satisfy Send
|
2013-09-16 20:18:07 -05:00
|
|
|
fn drop(&mut self) {
|
2013-03-20 20:18:57 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() { }
|