diff options
| author | Chris Krycho <hello@chriskrycho.com> | 2024-10-30 13:08:08 -0600 |
|---|---|---|
| committer | Chris Krycho <hello@chriskrycho.com> | 2024-11-23 08:57:25 -0700 |
| commit | d4275e08e7f73efabb2c41ceb27020c6f9005a68 (patch) | |
| tree | 1ef8a4aa8497493ff6c307a7123952ab69c10754 /tests/ui/recursion | |
| parent | 559a2d21b79e69bbc3b9ca81db5a910049183fed (diff) | |
| download | rust-d4275e08e7f73efabb2c41ceb27020c6f9005a68.tar.gz rust-d4275e08e7f73efabb2c41ceb27020c6f9005a68.zip | |
Update tests for new TRPL chapter order
Diffstat (limited to 'tests/ui/recursion')
| -rw-r--r-- | tests/ui/recursion/recursive-types-are-not-uninhabited.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/recursion/recursive-types-are-not-uninhabited.stderr b/tests/ui/recursion/recursive-types-are-not-uninhabited.stderr index 5abec88eeff..35d436a1413 100644 --- a/tests/ui/recursion/recursive-types-are-not-uninhabited.stderr +++ b/tests/ui/recursion/recursive-types-are-not-uninhabited.stderr @@ -5,7 +5,7 @@ LL | let Ok(x) = res; | ^^^^^ pattern `Err(_)` 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 `Result<u32, &R<'_>>` help: you might want to use `let else` to handle the variant that isn't matched | |
