blob: 7d13461a56b35d617b489fbf33db8d5e1dba8c85 [file]
//@ known-bug: #138226
//@ needs-rustc-debug-assertions
#![feature(min_generic_const_args)]
#![feature(inherent_associated_types)]
struct Foo<A, B>(A, B);
impl<A, B> Foo<A, B> {
#[type_const]
const LEN: usize = 4;
fn foo() {
let _ = [5; Self::LEN];
}
}