2024-06-17 08:34:26 +00:00
|
|
|
error[E0284]: type annotations needed for `Mask<_, _>`
|
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);
|
2025-02-12 15:52:15 +01:00
|
|
|
| ^ ------------ type must be known at this point
|
2021-12-13 03:16:00 +00:00
|
|
|
|
|
2025-02-12 15:52:15 +01:00
|
|
|
note: required by a const generic parameter in `Mask`
|
2021-12-13 03:16:00 +00:00
|
|
|
--> $SRC_DIR/core/src/../../portable-simd/crates/core_simd/src/masks.rs:LL:COL
|
2024-06-17 08:34:26 +00:00
|
|
|
help: consider giving `y` an explicit type, where the value of const parameter `N` is specified
|
2022-02-14 13:25:26 +01:00
|
|
|
|
|
2024-08-13 22:17:01 -04:00
|
|
|
LL | let y: Mask<_, N> = Mask::<_, _>::splat(false);
|
2023-11-19 19:04:06 -05:00
|
|
|
| ++++++++++++
|
2021-12-13 03:16:00 +00:00
|
|
|
|
2024-06-17 08:34:26 +00:00
|
|
|
error[E0284]: type annotations needed for `Mask<_, _>`
|
|
|
|
|
--> $DIR/issue-91614.rs:6:9
|
|
|
|
|
|
|
|
|
|
|
LL | let y = Mask::<_, _>::splat(false);
|
2025-02-12 15:52:15 +01:00
|
|
|
| ^ -------------------------- type must be known at this point
|
2024-06-17 08:34:26 +00:00
|
|
|
|
|
2025-02-12 15:52:15 +01:00
|
|
|
note: required by a const generic parameter in `Mask::<T, N>::splat`
|
2024-06-17 08:34:26 +00:00
|
|
|
--> $SRC_DIR/core/src/../../portable-simd/crates/core_simd/src/masks.rs:LL:COL
|
|
|
|
|
help: consider giving `y` an explicit type, where the value of const parameter `N` is specified
|
|
|
|
|
|
|
2024-08-13 22:17:01 -04:00
|
|
|
LL | let y: Mask<_, N> = Mask::<_, _>::splat(false);
|
2024-06-17 08:34:26 +00:00
|
|
|
| ++++++++++++
|
|
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
2021-12-13 03:16:00 +00:00
|
|
|
|
2024-06-17 08:34:26 +00:00
|
|
|
For more information about this error, try `rustc --explain E0284`.
|