]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/consts/const_let_refutable.stderr
Add FAQ for NLL migration
[rust.git] / src / test / ui / consts / const_let_refutable.stderr
index 20433bbf8b5c764afecdaab642654234d7d29dd1..2ca76667bd118fb5c1bc2a95c329ad4d347594d4 100644 (file)
@@ -21,6 +21,7 @@ LL |     a + b
    |
    = warning: this error has been downgraded to a warning for backwards compatibility with previous releases
    = warning: this represents potential undefined behavior in your code and this warning will become a hard error in the future
+   = note: for more information, try `rustc --explain E0729`
 
 warning[E0381]: use of possibly uninitialized variable: `b`
   --> $DIR/const_let_refutable.rs:4:9
@@ -30,6 +31,7 @@ LL |     a + b
    |
    = warning: this error has been downgraded to a warning for backwards compatibility with previous releases
    = warning: this represents potential undefined behavior in your code and this warning will become a hard error in the future
+   = note: for more information, try `rustc --explain E0729`
 
 error: aborting due to 2 previous errors