]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/consts/const-eval/promoted_const_fn_fail.stderr
New upstream version 1.56.0~beta.4+dfsg1
[rustc.git] / src / test / ui / consts / const-eval / promoted_const_fn_fail.stderr
index 6618f1cd1c0b534f006b4e581bbedbb3770c33de..c6ca30e09bd3f1d4a6dc1b0ef3e4589d579adfd6 100644 (file)
@@ -1,5 +1,5 @@
 error[E0716]: temporary value dropped while borrowed
-  --> $DIR/promoted_const_fn_fail.rs:21:27
+  --> $DIR/promoted_const_fn_fail.rs:19:27
    |
 LL |     let x: &'static u8 = &(bar() + 1);
    |            -----------    ^^^^^^^^^^^ creates a temporary which is freed while still in use