1 #![feature(generic_const_exprs)]
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 function takes 2 generic arguments