about summary refs log tree commit diff
path: root/compiler/rustc_parse/messages.ftl
diff options
context:
space:
mode:
authorChris Krycho <hello@chriskrycho.com>2024-10-17 16:08:36 -0600
committerChris Krycho <hello@chriskrycho.com>2024-11-23 08:57:24 -0700
commit5e3607626da6a9ddb41c626bd1c1b1ade69bb342 (patch)
tree81ff3dcdf65d89f2bc3c245162ad2e9347b17fbc /compiler/rustc_parse/messages.ftl
parentb64da63c4d8f6853d0c8a932c73848b2e365fcec (diff)
downloadrust-5e3607626da6a9ddb41c626bd1c1b1ade69bb342.tar.gz
rust-5e3607626da6a9ddb41c626bd1c1b1ade69bb342.zip
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.
Diffstat (limited to 'compiler/rustc_parse/messages.ftl')
-rw-r--r--compiler/rustc_parse/messages.ftl2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_parse/messages.ftl b/compiler/rustc_parse/messages.ftl
index cafd4b6dca2..8c4f669c332 100644
--- a/compiler/rustc_parse/messages.ftl
+++ b/compiler/rustc_parse/messages.ftl
@@ -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`