]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/issues/issue-44239.stderr
Auto merge of #80790 - JohnTitor:rollup-js1noez, r=JohnTitor
[rust.git] / src / test / ui / issues / issue-44239.stderr
index bc5a6a03f0314fb4852c56856e7933d0f2c73ea6..bbd3d116c9634530868aab405e404879c54e0141 100644 (file)
@@ -1,6 +1,9 @@
 error[E0435]: attempt to use a non-constant value in a constant
   --> $DIR/issue-44239.rs:6:26
    |
+LL |     let n = 0;
+   |         - help: consider using `const` instead of `let`
+...
 LL |         const N: usize = n;
    |                          ^ non-constant value