Closed
Description
openedon May 3, 2013
Related to #3235 because the same holes don't exist in match
.
struct Foo {
n: uint
}
impl Drop for Foo {
fn finalize(&self) {
for self.n.times {
println("pew");
}
}
}
fn main() {
let x = Foo{n: 5};
let &_y = &x;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment