]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/error-should-say-copy-not-pod.rs
1 // Tests that the error message uses the word Copy, not Pod.
3 fn check_bound
<T
:Copy
>(_
: T
) {}
6 check_bound("nocopy".to_string()); //~ ERROR : Copy` is not satisfied