test: Fix test. rs=test

This commit is contained in:
Patrick Walton 2013-03-22 09:26:50 -07:00
parent c1084091d4
commit ec59ce5796

View File

@ -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
}