Skip to content

Commit 37becd8

Browse files
committed
auto merge of #6321 : ILyoan/rust/test4350, r=z0w0
2 parents b6f9295 + 1813ab5 commit 37becd8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/test/run-pass/traits-default-method-self.rs

+5-5
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@
1010

1111
//xfail-test
1212

13-
// Currently failing with an ICE in trans. (FIXME: #2794)
13+
// Currently failing with an ICE in trans. (FIXME: #4350)
1414

1515
trait Cat {
16-
fn meow() -> bool;
17-
fn scratch() -> bool { self.purr() }
18-
fn purr() -> bool { true }
16+
fn meow(&self) -> bool;
17+
fn scratch(&self) -> bool { self.purr() }
18+
fn purr(&self) -> bool { true }
1919
}
2020

2121
impl Cat for int {
22-
fn meow() -> bool {
22+
fn meow(&self) -> bool {
2323
self.scratch()
2424
}
2525
}

0 commit comments

Comments
 (0)