Change finalize -> drop.
This commit is contained in:
parent
4967bd0508
commit
ca2966c6d0
127 changed files with 155 additions and 155 deletions
|
@ -12,7 +12,7 @@ type Foo = @[u8];
|
|||
|
||||
impl Drop for Foo { //~ ERROR the Drop trait may only be implemented
|
||||
//~^ ERROR cannot provide an extension implementation
|
||||
fn finalize(&self) {
|
||||
fn drop(&self) {
|
||||
println("kaboom");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue