Skip to content

Commit

Permalink
Rollup merge of rust-lang#93389 - cameron1024:issue-90847-regression,…
Browse files Browse the repository at this point in the history
… r=Mark-Simulacrum

regression for issue 90847

Adds a regression test for issue rust-lang#90847
  • Loading branch information
matthiaskrgr authored Feb 28, 2022
2 parents 354e014 + 9118393 commit 4115c3f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/test/ui/const-generics/generic_const_exprs/issue-90847.rs
Original file line number Diff line number Diff line change
@@ -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() {}

0 comments on commit 4115c3f

Please sign in to comment.