]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/wf/wf-trait-default-fn-ret.rs
1 // Check that we test WF conditions for fn arguments. Because the
2 // current code is so goofy, this is only a warning for now.
4 #![feature(rustc_attrs)]
6 #![allow(unused_variables)]
8 struct Bar
<T
:Eq
+?Sized
> { value: Box<T> }
11 fn bar(&self) -> Bar
<Self> {
14 // Here, Eq ought to be implemented.