about summary refs log tree commit diff
path: root/src/test/ui/consts/const_let_refutable.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/consts/const_let_refutable.stderr')
-rw-r--r--src/test/ui/consts/const_let_refutable.stderr14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/test/ui/consts/const_let_refutable.stderr b/src/test/ui/consts/const_let_refutable.stderr
index 02296e6de75..d7e8c048f7d 100644
--- a/src/test/ui/consts/const_let_refutable.stderr
+++ b/src/test/ui/consts/const_let_refutable.stderr
@@ -6,16 +6,6 @@ LL | const fn slice(&[a, b]: &[i32]) -> i32 {
    |
    = note: the matched value is of type `&[i32]`
 
-error[E0723]: loops and conditional expressions are not stable in const fn
-  --> $DIR/const_let_refutable.rs:3:17
-   |
-LL | const fn slice(&[a, b]: &[i32]) -> i32 {
-   |                 ^^^^^^
-   |
-   = note: see issue #57563 <https://github.com/rust-lang/rust/issues/57563> for more information
-   = help: add `#![feature(const_fn)]` to the crate attributes to enable
-
-error: aborting due to 2 previous errors
+error: aborting due to previous error
 
-Some errors have detailed explanations: E0005, E0723.
-For more information about an error, try `rustc --explain E0005`.
+For more information about this error, try `rustc --explain E0005`.