test: Fix test. rs=test
This commit is contained in:
parent
c1084091d4
commit
ec59ce5796
@ -17,7 +17,7 @@ trait BikeMethods {
|
||||
}
|
||||
|
||||
impl BikeMethods for Bike {
|
||||
fn woops(&const self) -> ~str { ~"foo" }
|
||||
fn woops() -> ~str { ~"foo" }
|
||||
//~^ ERROR method `woops` is declared as static in its impl, but not in its trait
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user