2022-02-14 14:13:02 +01:00
|
|
|
error[E0283]: type annotations needed for `Mask<_, LANES>`
|
2022-02-14 13:25:26 +01:00
|
|
|
--> $DIR/issue-91614.rs:6:9
|
2021-12-13 03:16:00 +00:00
|
|
|
|
|
|
|
|
LL | let y = Mask::<_, _>::splat(false);
|
2022-06-25 09:28:27 -07:00
|
|
|
| ^ ------------------- type must be known at this point
|
2021-12-13 03:16:00 +00:00
|
|
|
|
|
|
|
|
= note: cannot satisfy `_: MaskElement`
|
2022-12-10 17:39:00 -08:00
|
|
|
= help: the following types implement trait `MaskElement`:
|
2023-06-27 23:31:06 +00:00
|
|
|
isize
|
|
|
|
i8
|
2022-12-10 17:39:00 -08:00
|
|
|
i16
|
|
|
|
i32
|
|
|
|
i64
|
2021-12-13 03:16:00 +00: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 13:25:26 +01: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-13 03:16:00 +00:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0283`.
|