fork/rust

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

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

master
1.4 KiB39 linesraw
1error[E0599]: no method named `ceil` found for struct `Simd` in the current scope
2  --> $DIR/libm_no_std_cant_float.rs:15:17
3   |
4LL |     let _xc = x.ceil();
5   |                 ^^^^ method not found in `Simd<f32, 4>`
6
7error[E0599]: no method named `floor` found for struct `Simd` in the current scope
8  --> $DIR/libm_no_std_cant_float.rs:16:17
9   |
10LL |     let _xf = x.floor();
11   |                 ^^^^^ method not found in `Simd<f32, 4>`
12
13error[E0599]: no method named `round` found for struct `Simd` in the current scope
14  --> $DIR/libm_no_std_cant_float.rs:17:17
15   |
16LL |     let _xr = x.round();
17   |                 ^^^^^ method not found in `Simd<f32, 4>`
18
19error[E0599]: no method named `trunc` found for struct `Simd` in the current scope
20  --> $DIR/libm_no_std_cant_float.rs:18:17
21   |
22LL |     let _xt = x.trunc();
23   |                 ^^^^^ method not found in `Simd<f32, 4>`
24
25error[E0599]: no method named `mul_add` found for struct `Simd` in the current scope
26  --> $DIR/libm_no_std_cant_float.rs:19:19
27   |
28LL |     let _xfma = x.mul_add(x, x);
29   |                   ^^^^^^^ method not found in `Simd<f32, 4>`
30
31error[E0599]: no method named `sqrt` found for struct `Simd` in the current scope
32  --> $DIR/libm_no_std_cant_float.rs:20:20
33   |
34LL |     let _xsqrt = x.sqrt();
35   |                    ^^^^ method not found in `Simd<f32, 4>`
36
37error: aborting due to 6 previous errors
38
39For more information about this error, try `rustc --explain E0599`.