mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-06 20:37:02 +00:00
12 lines
236 B
Rust
12 lines
236 B
Rust
#![feature(generic_const_exprs)]
|
|
#![allow(incomplete_features)]
|
|
|
|
fn bind<const N: usize>(value: [u8; N]) -> [u8; 3 + 4] {
|
|
todo!()
|
|
}
|
|
|
|
fn main() {
|
|
let mut arr = Default::default();
|
|
arr = bind(arr); //~ ERROR mismatched type
|
|
}
|