librustc: Remove implicit self from the language, except for old-style drop blocks.

This commit is contained in:
Patrick Walton 2013-03-12 19:32:14 -07:00
parent a410652bc9
commit 8fa66e8e07
133 changed files with 339 additions and 395 deletions

View file

@ -15,11 +15,11 @@ fn failfn() {
}
trait i {
fn foo();
fn foo(&self);
}
impl i for ~int {
fn foo() { }
fn foo(&self) { }
}
fn main() {