1 #![feature(const_generics, const_evaluatable_checked)]
2 #![allow(incomplete_features)]
4 struct Bool
<const B
: bool
>;
8 impl True
for Bool
<true> {}
10 fn test
<T
, const P
: usize>() where Bool
<{core::mem::size_of::<T>() > 4}
>: True
{
16 //~^ ERROR this function takes 2 generic arguments