// Check that different const types are different. #![feature(adt_const_params)] #![allow(incomplete_features)] struct Const {} fn main() { let mut x = Const::<{ [3] }> {}; x = Const::<{ [4] }> {}; //~^ ERROR mismatched types }