2022-02-14 07:13:02 -06:00
|
|
|
error[E0283]: type annotations needed for `Mask<_, LANES>`
|
2022-02-14 06:25:26 -06:00
|
|
|
--> $DIR/issue-91614.rs:6:9
|
2021-12-12 21:16:00 -06:00
|
|
|
|
|
|
|
|
LL | let y = Mask::<_, _>::splat(false);
|
2022-06-25 11:28:27 -05:00
|
|
|
| ^ ------------------- type must be known at this point
|
2021-12-12 21:16:00 -06:00
|
|
|
|
|
|
|
|
= note: cannot satisfy `_: MaskElement`
|
2022-12-10 19:39:00 -06:00
|
|
|
= help: the following types implement trait `MaskElement`:
|
2023-06-27 18:31:06 -05:00
|
|
|
isize
|
|
|
|
i8
|
2022-12-10 19:39:00 -06:00
|
|
|
i16
|
|
|
|
i32
|
|
|
|
i64
|
2021-12-12 21:16:00 -06:00
|
|
|
note: required by a bound in `Mask::<T, LANES>::splat`
|
|
|
|
--> $SRC_DIR/core/src/../../portable-simd/crates/core_simd/src/masks.rs:LL:COL
|
2022-02-14 06:25:26 -06:00
|
|
|
help: consider giving `y` an explicit type, where the type for type parameter `T` is specified
|
|
|
|
|
|
|
|
|
LL | let y: Mask<_, LANES> = Mask::<_, _>::splat(false);
|
|
|
|
| ++++++++++++++++
|
2021-12-12 21:16:00 -06:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0283`.
|