rust/tests/ui/const-generics/generic_const_exprs/inline-const-in-const-generic-defaults.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
166 B
Rust
Raw Normal View History

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