about summary refs log tree commit diff
path: root/tests/ui/destructuring-assignment
diff options
context:
space:
mode:
authorChris Krycho <hello@chriskrycho.com>2024-10-30 13:08:08 -0600
committerChris Krycho <hello@chriskrycho.com>2024-11-23 08:57:25 -0700
commitd4275e08e7f73efabb2c41ceb27020c6f9005a68 (patch)
tree1ef8a4aa8497493ff6c307a7123952ab69c10754 /tests/ui/destructuring-assignment
parent559a2d21b79e69bbc3b9ca81db5a910049183fed (diff)
downloadrust-d4275e08e7f73efabb2c41ceb27020c6f9005a68.tar.gz
rust-d4275e08e7f73efabb2c41ceb27020c6f9005a68.zip
Update tests for new TRPL chapter order
Diffstat (limited to 'tests/ui/destructuring-assignment')
-rw-r--r--tests/ui/destructuring-assignment/non-exhaustive-destructure.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/destructuring-assignment/non-exhaustive-destructure.stderr b/tests/ui/destructuring-assignment/non-exhaustive-destructure.stderr
index b9ceaa4af7b..88f7d2da47c 100644
--- a/tests/ui/destructuring-assignment/non-exhaustive-destructure.stderr
+++ b/tests/ui/destructuring-assignment/non-exhaustive-destructure.stderr
@@ -5,7 +5,7 @@ LL |     None = Some(3);
    |     ^^^^ pattern `Some(_)` 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 `Option<i32>`
 help: you might want to use `if let` to ignore the variant that isn't matched
    |