rust/tests/ui/const-generics/generic_const_exprs/issue-90847.rs
2024-02-16 20:02:50 +00:00

10 lines
184 B
Rust

//@ check-pass
#![allow(incomplete_features)]
#![feature(generic_const_exprs)]
#![feature(adt_const_params)]
struct Foo<const A: [(); 0 + 0]> where [(); 0 + 0]: Sized;
fn main() {}