blob: c04786c7e75d4aa0e77edf2e44bb95f5deddac4b [file]
//@ compile-flags: --crate-type lib
//@ check-pass
#![feature(min_adt_const_params)]
#![feature(generic_const_parameter_types)]
#![allow(incomplete_features)]
pub trait Trait {
fn method<const A: usize, const B: [usize; A]>();
}
pub struct Foo;
impl Trait for Foo {
fn method<const A: usize, const B: [usize; A]>() {}
}