rust/tests/ui/const-generics/expose-default-substs-param-env.rs

10 lines
172 B
Rust
Raw Normal View History

2021-10-25 09:04:23 -05:00
// build-pass
#![feature(generic_const_exprs)]
#![allow(unused_braces, incomplete_features)]
pub trait Foo<const N: usize> {}
pub trait Bar: Foo<{ 1 }> { }
fn main() {}