1 #![feature(const_generics)]
2 //~^ WARN the feature `const_generics` is incomplete
8 struct Wrapper<const F: fn() -> u32>; //~ ERROR: using function pointers as const generic parameters
10 impl<const F: fn() -> u32> Wrapper<F> {
11 //~^ ERROR: using function pointers as const generic parameters
18 assert_eq!(Wrapper::<function>::call(), 17);