You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ cat foo.rs
fn main() {
if true {
let _a = ~2;
} else {
fail!()
}
}
$ rustc foo.rs
$ ./foo
foo(23204,0x107be0000) malloc: *** error for object 0x7fd132c02790: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
zsh: abort ./foo
Doesn't get much worse than that. Nominating because this is terrible.