]> 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 bc80de4ce04ab9e0045d9e82b38c0a116d77ab95..1e092c8af99674bdc8ddaa7468ead797dd74a0af 100644 (file)
@@ -10,15 +10,16 @@ error[E0019]: constant contains unimplemented expression type
 LL |     x => 42,
    |     ^
 
-error[E0723]: `if`, `match`, `&&` and `||` are not stable in const fn (see issue #57563)
+error[E0723]: loops and conditional expressions are not stable in const fn
   --> $DIR/single_variant_match_ice.rs:18:13
    |
 LL |             Prob => 0x1,
    |             ^^^^
    |
+   = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563
    = help: add #![feature(const_fn)] to the crate attributes to enable
 
 error: aborting due to 3 previous errors
 
-Some errors occurred: E0019, E0723.
+Some errors have detailed explanations: E0019, E0723.
 For more information about an error, try `rustc --explain E0019`.