rust/tests/ui/const-generics/generic_const_exprs/issue-90847.rs

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

10 lines
183 B
Rust
Raw Normal View History

2022-01-31 10:56:10 -06:00
// 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() {}