rust/tests/ui/const-generics/expose-default-substs-param-env.rs
2024-02-16 20:02:50 +00:00

10 lines
173 B
Rust

//@ build-pass
#![feature(generic_const_exprs)]
#![allow(unused_braces, incomplete_features)]
pub trait Foo<const N: usize> {}
pub trait Bar: Foo<{ 1 }> { }
fn main() {}