// check-pass #![feature(adt_const_params, generic_const_exprs)] //~^ WARN the feature `adt_const_params` is incomplete and may not be safe to use and/or cause compiler crashes [incomplete_features] //~^^ WARN the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes [incomplete_features] pub struct Changes where [(); CHANGES.len()]:, { changes: [usize; CHANGES.len()], } impl Changes where [(); CHANGES.len()]:, { pub fn combine(&mut self, other: &Self) { for _change in &self.changes {} } } pub fn main() {}