Error code E0511
Invalid monomorphization of an intrinsic function was used.
Erroneous code example:
#![feature(intrinsics)]
#[rustc_intrinsic]
unsafe fn simd_add<T>(a: T, b: T) -> T;
fn main() {
unsafe { simd_add(0, 1); }
// error: invalid monomorphization of `simd_add` intrinsic
}
ⓘ
The generic type has to be a SIMD type. Example: