]> git.lizzy.rs Git - rust.git/blob - src/test/ui/typeck/issue-90164.rs
Sync core::simd up to rust-lang/portable-simd@2e081db92aa3ee0a4563bc28ce01bdad5b1b2efd
[rust.git] / src / test / ui / typeck / issue-90164.rs
1 fn copy<R: Unpin, W>(_: R, _: W) {}
2
3 fn f<T>(r: T) {
4     let w = ();
5     copy(r, w);
6     //~^ ERROR [E0277]
7 }
8
9 fn main() {}