Skip to content

Commit ec59ce5

Browse files
committed
test: Fix test. rs=test
1 parent c108409 commit ec59ce5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/compile-fail/issue-3969.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ trait BikeMethods {
1717
}
1818

1919
impl BikeMethods for Bike {
20-
fn woops(&const self) -> ~str { ~"foo" }
20+
fn woops() -> ~str { ~"foo" }
2121
//~^ ERROR method `woops` is declared as static in its impl, but not in its trait
2222
}
2323

0 commit comments

Comments
 (0)