auto merge of #11485 : eddyb/rust/sweep-old-rust, r=nikomatsakis
This commit is contained in:
commit
9075025c7b
39 changed files with 191 additions and 262 deletions
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright 2013 The Rust Project Developers. See the COPYRIGHT
|
||||
// Copyright 2013-2014 The Rust Project Developers. See the COPYRIGHT
|
||||
// file at the top-level directory of this distribution and at
|
||||
// http://rust-lang.org/COPYRIGHT.
|
||||
//
|
||||
|
|
@ -11,5 +11,6 @@
|
|||
struct S;
|
||||
|
||||
impl S {
|
||||
fn f(~mut self) {} //~ ERROR mutability declaration not allowed here
|
||||
fn f(~mut self) {} //~ ERROR found `self` in ident position
|
||||
//~^ ERROR expected `:` but found `)`
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue