1 #![feature(const_generics)]
2 //~^ WARN the feature `const_generics` is incomplete
11 pub fn call_me(&self) -> u8 {
15 fn test<const FN: fn() -> u8>(&self) -> u8 {
16 //~^ ERROR using function pointers as const generic parameters is forbidden
23 assert_eq!(x.call_me(), 42);