fixup! Add regression test for const generic ICE in #72819

This commit is contained in:
Ayaz Hafiz 2020-06-08 18:04:41 -07:00
parent f82382af28
commit 2981395d0c
No known key found for this signature in database
GPG Key ID: B443F7A3030C9AED
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
error: constant expression depends on a generic parameter
--> $DIR/issue-72819-generic-in-const-eval.rs:4:47
--> $DIR/issue-72819-generic-in-const-eval.rs:7:47
|
LL | where Assert::<{N < usize::max_value() / 2}>: IsTrue,
| ^^^^^^