提交 37becd88 编写于 作者: B bors

auto merge of #6321 : ILyoan/rust/test4350, r=z0w0

......@@ -10,16 +10,16 @@
//xfail-test
// Currently failing with an ICE in trans. (FIXME: #2794)
// Currently failing with an ICE in trans. (FIXME: #4350)
trait Cat {
fn meow() -> bool;
fn scratch() -> bool { self.purr() }
fn purr() -> bool { true }
fn meow(&self) -> bool;
fn scratch(&self) -> bool { self.purr() }
fn purr(&self) -> bool { true }
}
impl Cat for int {
fn meow() -> bool {
fn meow(&self) -> bool {
self.scratch()
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册