librustc: Remove implicit self from the language, except for old-style drop blocks.
This commit is contained in:
parent
a410652bc9
commit
8fa66e8e07
133 changed files with 339 additions and 395 deletions
|
|
@ -15,11 +15,11 @@ fn failfn() {
|
|||
}
|
||||
|
||||
trait i {
|
||||
fn foo();
|
||||
fn foo(&self);
|
||||
}
|
||||
|
||||
impl i for ~int {
|
||||
fn foo() { }
|
||||
fn foo(&self) { }
|
||||
}
|
||||
|
||||
fn main() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue