mirror of
https://github.com/rust-lang/rust
synced 2024-10-06 16:51:35 +00:00
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 a new issue