]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/wf/wf-in-fn-arg.rs
1 // Check that we enforce WF conditions also for argument types in fn items.
3 #![feature(rustc_attrs)]
6 struct MustBeCopy
<T
:Copy
> {
10 fn bar
<T
>(_
: &MustBeCopy
<T
>) //~ ERROR E0277