13 lines
207 B
Rust
13 lines
207 B
Rust
#[feature(managed_boxes)];
|
|
|
|
struct Foo {
|
|
f: @int,
|
|
}
|
|
|
|
impl Drop for Foo { //~ ERROR cannot implement a destructor on a structure that does not satisfy Send
|
|
fn drop(&mut self) {
|
|
}
|
|
}
|
|
|
|
fn main() { }
|