about summary refs log tree commit diff
path: root/tests/ui/half-open-range-patterns/slice_pattern_syntax_problem1.stderr
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-11-23 23:26:19 +0000
committerbors <bors@rust-lang.org>2024-11-23 23:26:19 +0000
commite48241b5d15da7491d3c8fd4d87f7a183a15b6b4 (patch)
treee2a8bed04f3ca32952437473851853a074cf2ab9 /tests/ui/half-open-range-patterns/slice_pattern_syntax_problem1.stderr
parent15b663e684d0acf1b4299b7ad6b4f4ab106395bd (diff)
parent7630b4975cb6b89fafd6bae6eaab9af33c30fc7a (diff)
downloadrust-e48241b5d15da7491d3c8fd4d87f7a183a15b6b4.tar.gz
rust-e48241b5d15da7491d3c8fd4d87f7a183a15b6b4.zip
Auto merge of #131859 - chriskrycho:update-trpl, r=onur-ozkan
Update TRPL to add new Chapter 17: Async and Await

- Add support to `rustbook` to pass through the `-L`/`--library-path` flag to `mdbook` so that references to the `trpl` crate
- Build the `trpl` crate as part of the book tests. Make it straightforward to add other such book dependencies in the future if needed by implementing that in a fairly general way.
- Update the submodule for the book to pull in the new chapter on async and await, as well as a number of other fixes. This will happen organically/automatically in a week, too, but this lets me group this change with the next one:
- Update the compiler messages which reference the existing chapters 17–20, which are now chapters 18-21. There are only two, both previously referencing chapter 18.
- Update the UI tests which reference the compiler message outputs.
Diffstat (limited to 'tests/ui/half-open-range-patterns/slice_pattern_syntax_problem1.stderr')
-rw-r--r--tests/ui/half-open-range-patterns/slice_pattern_syntax_problem1.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/half-open-range-patterns/slice_pattern_syntax_problem1.stderr b/tests/ui/half-open-range-patterns/slice_pattern_syntax_problem1.stderr
index 49515919904..17b65c1dae5 100644
--- a/tests/ui/half-open-range-patterns/slice_pattern_syntax_problem1.stderr
+++ b/tests/ui/half-open-range-patterns/slice_pattern_syntax_problem1.stderr
@@ -15,7 +15,7 @@ LL |     let [a @ 3.., b @ ..3, c @ 4..6, ..] = xs;
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ pattern `[i32::MIN..=2_i32, ..]` not covered
    |
    = note: `let` bindings require an "irrefutable pattern", like a `struct` or an `enum` with only one variant
-   = note: for more information, visit https://doc.rust-lang.org/book/ch18-02-refutability.html
+   = note: for more information, visit https://doc.rust-lang.org/book/ch19-02-refutability.html
    = note: the matched value is of type `[i32; 8]`
 help: you might want to use `let else` to handle the variant that isn't matched
    |