]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_typeck/structured_errors.rs
Rollup merge of #61698 - davidtwco:ice-const-generic-length, r=varkor
[rust.git] / src / librustc_typeck / structured_errors.rs
index f75ab47e1ab70d14599d6f4653f9c10ecddb9205..3e3eab8cf4cfb2e19315195d1927c82f3bdbfad1 100644 (file)
@@ -137,7 +137,7 @@ fn extended(&self, mut err: DiagnosticBuilder<'tcx>) -> DiagnosticBuilder<'tcx>
 pointers.
 
 For more information about casts, take a look at The Book:
-https://doc.rust-lang.org/book/first-edition/casting-between-types.html");
+https://doc.rust-lang.org/reference/expressions/operator-expr.html#type-cast-expressions");
         err
     }
 }