未验证 提交 2981395d 编写于 作者: A Ayaz Hafiz

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

上级 f82382af
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,
| ^^^^^^
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册