blob: 83fe8c139f90d477037e8a221848bec246f2d148 [file] [log] [blame]
#![feature(adt_const_params)]
trait Trait<const N: usize> {
fn foo<const M: [u8; N]>() {}
//~^ ERROR the type of const parameters must not depend on other generic parameters
}
fn main() {}