mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
7 lines
146 B
Rust
7 lines
146 B
Rust
//@ known-bug: #127962
|
|
#![feature(generic_const_exprs)]
|
|
|
|
fn zero_init<const usize: usize>() -> Substs1<{ (N) }> {
|
|
Substs1([0; { (usize) }])
|
|
}
|