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/loops | |
| parent | 559a2d21b79e69bbc3b9ca81db5a910049183fed (diff) | |
| download | rust-d4275e08e7f73efabb2c41ceb27020c6f9005a68.tar.gz rust-d4275e08e7f73efabb2c41ceb27020c6f9005a68.zip | |
Update tests for new TRPL chapter order
Diffstat (limited to 'tests/ui/loops')
| -rw-r--r-- | tests/ui/loops/loop-else-break-with-value.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/loops/loop-else-break-with-value.stderr b/tests/ui/loops/loop-else-break-with-value.stderr index ca18f0fdd7f..da3276c8cd3 100644 --- a/tests/ui/loops/loop-else-break-with-value.stderr +++ b/tests/ui/loops/loop-else-break-with-value.stderr @@ -21,7 +21,7 @@ LL | let Some(1) = loop { | ^^^^^^^ pattern `None` 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 | |
