librustc: Replace impl Type : Trait
with impl Trait for Type
. rs=implflipping
This commit is contained in:
parent
8ec6f43d6c
commit
9143688197
583 changed files with 1115 additions and 1115 deletions
|
@ -10,7 +10,7 @@
|
|||
|
||||
type Foo = @[u8];
|
||||
|
||||
impl Foo : Drop { //~ ERROR the Drop trait may only be implemented
|
||||
impl Drop for Foo { //~ ERROR the Drop trait may only be implemented
|
||||
//~^ ERROR cannot provide an extension implementation
|
||||
fn finalize(&self) {
|
||||
io::println("kaboom");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue