]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/consts/partial_qualif.stderr
Stabilize `let` bindings and destructuring in constants and const fn
[rust.git] / src / test / ui / consts / partial_qualif.stderr
index d695f64e2c3b55a6a1d9fddf1372cfc6f9ba6856..967fb83b78b087d64d18cc5770af96a3c0f04de5 100644 (file)
@@ -1,5 +1,5 @@
 error[E0492]: cannot borrow a constant which may contain interior mutability, create a static instead
-  --> $DIR/partial_qualif.rs:8:5
+  --> $DIR/partial_qualif.rs:6:5
    |
 LL |     &{a} //~ ERROR cannot borrow a constant which may contain interior mutability
    |     ^^^^