5 fn foo<const M: u64>() {}
6 //~^ error: method `foo` has an incompatible generic parameter for trait
10 fn bar<const M: u8>() {}
14 //~^ error: method `bar` has an incompatible generic parameter for trait
18 fn baz<const N: u32>() {}
21 fn baz<const N: i32>() {}
22 //~^ error: method `baz` has an incompatible generic parameter for trait
26 fn bbbb<const N: u32, T>() {}
29 fn bbbb<T, const N: u32>() {}
30 //~^ error: method `bbbb` has an incompatible generic parameter for trait
34 fn abcd<T, const N: u32>() {}
37 fn abcd<const N: u32, T>() {}
38 //~^ error: method `abcd` has an incompatible generic parameter for trait