We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1a855c commit ca0af9eCopy full SHA for ca0af9e
tests/ui/consts/is_val_statically_known.rs
@@ -9,6 +9,7 @@ const CONST_TEST: bool = unsafe { is_val_statically_known(0) };
9
10
fn main() {
11
if CONST_TEST {
12
- unreachable!("guaranteed to return false during const eval");
+ unreachable!("currently expected to return false during const eval");
13
+ // but note that this is not a guarantee!
14
}
15
0 commit comments