提交 ec59ce57 编写于 作者: P Patrick Walton

test: Fix test. rs=test

上级 c1084091
...@@ -17,7 +17,7 @@ trait BikeMethods { ...@@ -17,7 +17,7 @@ trait BikeMethods {
} }
impl BikeMethods for Bike { 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 //~^ ERROR method `woops` is declared as static in its impl, but not in its trait
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册