rust/tests/ui/repeat-expr/dont-require-copy-on-infer.rs

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

7 lines
101 B
Rust
Raw Normal View History

2025-02-15 02:01:41 +00:00
//@ check-pass
#![feature(generic_arg_infer)]
fn main() {
let a: [_; 1] = [String::new(); _];
}