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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
213 B
Rust
Raw Normal View History

#![feature(portable_simd)]
#![feature(generic_arg_infer)]
use std::simd::Mask;
fn main() {
let y = Mask::<_, _>::splat(false);
2024-05-29 16:06:50 +00:00
//~^ ERROR: type annotations needed
2024-06-17 08:34:26 +00:00
//~| ERROR type annotations needed
}