]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/consts/min_const_fn/loop_ice.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / consts / min_const_fn / loop_ice.stderr
index edf983fc56b1101c87403b3cfcaa799668642537..58d1d4211334cdae32c020705c3b6f61e5ee3fcc 100644 (file)
@@ -1,12 +1,12 @@
-error[E0723]: loops are not allowed in const fn
+error[E0658]: `loop` is not allowed in a `const fn`
   --> $DIR/loop_ice.rs:2:5
    |
 LL |     loop {}
    |     ^^^^^^^
    |
-   = 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
+   = note: for more information, see https://github.com/rust-lang/rust/issues/52000
+   = help: add `#![feature(const_loop)]` to the crate attributes to enable
 
 error: aborting due to previous error
 
-For more information about this error, try `rustc --explain E0723`.
+For more information about this error, try `rustc --explain E0658`.