1 // Check that types with different const arguments are different.
4 #![cfg_attr(full, feature(generic_const_exprs))]
5 #![cfg_attr(full, allow(incomplete_features))]
7 struct ConstUsize<const V: usize> {}
10 let mut u = ConstUsize::<3> {};
11 u = ConstUsize::<4> {};
12 //~^ ERROR mismatched types