1 An invalid number of generic parameters was passed to an intrinsic function.
3 Erroneous code example:
6 #![feature(intrinsics)]
8 extern "rust-intrinsic" {
9 fn size_of<T, U>() -> usize; // error: intrinsic has wrong number
14 Please check that you provided the right number of type parameters
15 and verify with the function declaration in the Rust source code.
19 #![feature(intrinsics)]
21 extern "rust-intrinsic" {
22 fn size_of<T>() -> usize; // ok!