]> git.lizzy.rs Git - rust.git/commit
simd_shuffleNNN returns its type parameter directly.
authorHuon Wilson <dbau.pp+github@gmail.com>
Fri, 14 Aug 2015 20:45:42 +0000 (13:45 -0700)
committerHuon Wilson <dbau.pp+github@gmail.com>
Mon, 17 Aug 2015 21:48:44 +0000 (14:48 -0700)
commit891c91438da66e967314f74f7ad5c06ddf56d917
treed42c44953fda36f2fbbb3adabda1d2e16b755b5e
parentd792925b4d838ca6d15c2d86b0e3dc85f6a393fe
simd_shuffleNNN returns its type parameter directly.

I.e. the signature now must be

    fn simd_shuffleNNN<T, U>(x: T, y: T, idx: [u32; NNN]) -> U;

(modulo names.)
src/librustc_typeck/check/intrinsic.rs