blob: 8440e47968e9aea21a91ae4a465600d6be346565 [file] [log] [blame]
#![feature(min_const_generics)]
type N = u32;
struct Foo<const M: usize>;
fn test<const N: usize>() -> Foo<N> { //~ ERROR type provided when
Foo
}
fn main() {}