// Check that we test WF conditions for fn arguments. Because the // current code is so goofy, this is only a warning for now. #![feature(rustc_attrs)] #![allow(dead_code)] #![allow(unused_variables)] struct Bar { value: Box } trait Foo { fn bar(&self) -> Bar { //~^ ERROR E0277 // // Here, Eq ought to be implemented. loop { } } } fn main() { }