rust/tests/ui/const-generics/generic_arg_infer/issue-91614.rs
2024-06-19 04:41:56 +00:00

10 lines
213 B
Rust

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