2021-06-08 13:38:43 -05:00
|
|
|
error[E0094]: intrinsic has wrong number of lifetime parameters: found 1, expected 0
|
|
|
|
--> $DIR/issue-85855.rs:9:27
|
|
|
|
|
|
|
|
|
LL | fn simd_saturating_add<'a, T: 'a>(x: T, y: T);
|
|
|
|
| ^^^^^^^^^^^ expected 0 lifetime parameters
|
|
|
|
|
|
|
|
error[E0094]: intrinsic has wrong number of type parameters: found 2, expected 1
|
2021-07-01 06:52:44 -05:00
|
|
|
--> $DIR/issue-85855.rs:14:16
|
2021-06-08 13:38:43 -05:00
|
|
|
|
|
|
|
|
LL | fn simd_sub<T, U>(x: T, y: U);
|
|
|
|
| ^^^^^^ expected 1 type parameter
|
|
|
|
|
|
|
|
error[E0094]: intrinsic has wrong number of const parameters: found 1, expected 0
|
2021-07-01 06:52:44 -05:00
|
|
|
--> $DIR/issue-85855.rs:17:16
|
2021-06-08 13:38:43 -05:00
|
|
|
|
|
|
|
|
LL | fn simd_mul<T, const N: usize>(x: T, y: T);
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^ expected 0 const parameters
|
|
|
|
|
2021-07-01 06:52:44 -05:00
|
|
|
error: aborting due to 3 previous errors
|
2021-06-08 13:38:43 -05:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0094`.
|