rust/tests/ui/const-generics/generic_arg_infer/issue-91614.rs

9 lines
178 B
Rust
Raw Normal View History

#![feature(portable_simd)]
#![feature(generic_arg_infer)]
use std::simd::Mask;
fn main() {
let y = Mask::<_, _>::splat(false);
//~^ ERROR: type annotations needed for
}