mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-03 05:27:36 +00:00
10 lines
213 B
Rust
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
|
|
}
|