Skip to content

Commit

Permalink
fixup! Add regression test for const generic ICE in #72819
Browse files Browse the repository at this point in the history
  • Loading branch information
ayazhafiz committed Jun 9, 2020
1 parent f82382a commit 2981395
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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,
| ^^^^^^
Expand Down

0 comments on commit 2981395

Please sign in to comment.