]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/type/type-dependent-def-issue-49241.rs
3 const l
: usize = v
.count(); //~ ERROR attempt to use a non-constant value in a constant
4 let s
: [u32; l
] = v
.into_iter().collect();
5 //~^ ERROR evaluation of constant value failed
6 //~^^ ERROR a value of type