Update messages which reference book chs. 17-20
With the insertion of a new chapter 17 on async and await to _The Rust Programming Language_, references in compiler output to later chapters need to be updated to avoid confusing users. Redirects exist so that users who click old links will end up in the right place anyway, but this way users will be directed to the right URL in the first place.
This commit is contained in:
parent
b64da63c4d
commit
5e3607626d
2 changed files with 2 additions and 2 deletions
|
@ -827,7 +827,7 @@ parse_unexpected_expr_in_pat =
|
|||
}, found an expression
|
||||
|
||||
.label = not a pattern
|
||||
.note = arbitrary expressions are not allowed in patterns: <https://doc.rust-lang.org/book/ch18-00-patterns.html>
|
||||
.note = arbitrary expressions are not allowed in patterns: <https://doc.rust-lang.org/book/ch19-00-patterns.html>
|
||||
|
||||
parse_unexpected_expr_in_pat_const_sugg = consider extracting the expression into a `const`
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue