]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/const-generics/type_not_in_scope.rs
2 //~^ ERROR cannot find type
3 fn getn
<const N
: usize>() -> [u8; N
] {
7 fn getn
<const N
: cfg_attr
>() -> [u8; N
] {}
8 //~^ ERROR expected type, found built-in attribute `cfg_attr`
9 //~| ERROR mismatched types