rust/tests/ui/const-generics/generic_const_exprs/inline-const-in-const-gener...

9 lines
166 B
Rust

//@ check-pass
#![feature(generic_const_exprs)]
#![allow(incomplete_features)]
pub struct ConstDefaultUnstable<const N: usize = { const { 3 } }>;
pub fn main() {}