//@ known-bug: #93182 #![feature(generic_const_exprs)] // this causes an ICE!!! pub const CONST: usize = 64; pub trait Tr: Foo> {} // no ICE // pub trait Digest: FromH<[u8; S]> {} struct St (); struct A ([u8; S]); pub trait Foo { fn foo(_: T); } impl Foo> for St { fn foo(_: A) { todo!() } } pub trait FooBar { type Tr: Tr; } pub fn main() {}