9 lines
112 B
Rust
9 lines
112 B
Rust
|
struct foo {
|
||
|
x: ~str;
|
||
|
drop { #error["%s", self.x]; }
|
||
|
}
|
||
|
|
||
|
fn main() {
|
||
|
let _z = foo { x: ~"Hello" };
|
||
|
}
|