]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/consts/single_variant_match_ice.stderr
Reword const fn conditional and loop error text
[rust.git] / src / test / ui / consts / single_variant_match_ice.stderr
index b8ad775f1c34fb2c6025e82fd351439d1b045637..1e092c8af99674bdc8ddaa7468ead797dd74a0af 100644 (file)
@@ -10,7 +10,7 @@ error[E0019]: constant contains unimplemented expression type
 LL |     x => 42,
    |     ^
 
-error[E0723]: `if`, `match`, `&&` and `||` are not stable in const fn
+error[E0723]: loops and conditional expressions are not stable in const fn
   --> $DIR/single_variant_match_ice.rs:18:13
    |
 LL |             Prob => 0x1,