Properly translate calls to default methods in a number of cases. Closes #4350.
This commit is contained in:
parent
135ba946a2
commit
a159f856d5
2 changed files with 23 additions and 50 deletions
|
|
@ -8,9 +8,7 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
//xfail-test
|
||||
|
||||
// Currently failing with an ICE in trans. (FIXME: #4350)
|
||||
#[allow(default_methods)];
|
||||
|
||||
trait Cat {
|
||||
fn meow(&self) -> bool;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue