//@ known-bug: #114456 #![feature(adt_const_params)] const EMPTY_MATRIX: ::Matrix = [0; 1]; pub struct Walk::Matrix> {} impl Walk { pub const fn new() -> Self { Self {} } } pub enum Type {} pub trait Trait { type Matrix; } impl Trait for Type { type Matrix = [usize; 1]; } fn main() { let _ = Walk::new(); }