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