summaryrefslogtreecommitdiffstats
path: root/src/test/ui/suggestions/issue-104287.stderr
blob: 4b302dd6509192f79b5367406b2594e248ac4f2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
error[E0425]: cannot find value `not_found` in this scope
  --> $DIR/issue-104287.rs:5:13
   |
LL |     let x = not_found;
   |             ^^^^^^^^^ not found in this scope

error[E0107]: this associated function takes 0 generic arguments but 1 generic argument was supplied
  --> $DIR/issue-104287.rs:6:5
   |
LL |     simd_gt::<()>(x);
   |     ^^^^^^^------ help: remove these generics
   |     |
   |     expected 0 generic arguments
   |
note: associated function defined here, with 0 generic parameters
  --> $SRC_DIR/core/src/../../portable-simd/crates/core_simd/src/ord.rs:LL:COL
   |
LL |     fn simd_gt(self, other: Self) -> Self::Mask;
   |        ^^^^^^^

error[E0425]: cannot find function `simd_gt` in this scope
  --> $DIR/issue-104287.rs:6:5
   |
LL |     simd_gt::<()>(x);
   |     ^^^^^^^ not found in this scope
   |
help: use the `.` operator to call the method `SimdPartialOrd::simd_gt` on `[type error]`
   |
LL -     simd_gt::<()>(x);
LL +     x.simd_gt();
   |

error: aborting due to 3 previous errors

Some errors have detailed explanations: E0107, E0425.
For more information about an error, try `rustc --explain E0107`.