Rollup merge of #93389 - cameron1024:issue-90847-regression, r=Mark-Simulacrum

regression for issue 90847

Adds a regression test for issue #90847
This commit is contained in:
Matthias Krüger 2022-02-28 12:57:46 +01:00 committed by GitHub
commit 4115c3f1ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,9 @@
// 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() {}