1bede1f5e0
This commit replaces nearly all remaining uses of #fmt, #debug, #error, and #info, and fixes some error messages...
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" };
|
|
}
|