fork/rust

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

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

master
841 B23 linesraw
1error[E0283]: type annotations needed for `Mask<_, LANES>`
2  --> $DIR/issue-91614.rs:6:9
3   |
4LL |     let y = Mask::<_, _>::splat(false);
5   |         ^   ------------------- type must be known at this point
6   |
7   = note: cannot satisfy `_: MaskElement`
8   = help: the following types implement trait `MaskElement`:
9             isize
10             i8
11             i16
12             i32
13             i64
14note: required by a bound in `Mask::<T, LANES>::splat`
15  --> $SRC_DIR/core/src/../../portable-simd/crates/core_simd/src/masks.rs:LL:COL
16help: consider giving `y` an explicit type, where the type for type parameter `T` is specified
17   |
18LL |     let y: Mask<_, LANES> = Mask::<_, _>::splat(false);
19   |          ++++++++++++++++
20
21error: aborting due to previous error
22
23For more information about this error, try `rustc --explain E0283`.