fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
815 B21 linesraw
1error[E0094]: intrinsic has wrong number of lifetime parameters: found 1, expected 0
2  --> $DIR/issue-85855.rs:9:27
3   |
4LL |     fn simd_saturating_add<'a, T: 'a>(x: T, y: T);
5   |                           ^^^^^^^^^^^ expected 0 lifetime parameters
6
7error[E0094]: intrinsic has wrong number of type parameters: found 2, expected 1
8  --> $DIR/issue-85855.rs:14:16
9   |
10LL |     fn simd_sub<T, U>(x: T, y: U);
11   |                ^^^^^^ expected 1 type parameter
12
13error[E0094]: intrinsic has wrong number of const parameters: found 1, expected 0
14  --> $DIR/issue-85855.rs:17:16
15   |
16LL |     fn simd_mul<T, const N: usize>(x: T, y: T);
17   |                ^^^^^^^^^^^^^^^^^^^ expected 0 const parameters
18
19error: aborting due to 3 previous errors
20
21For more information about this error, try `rustc --explain E0094`.