diff options
| author | bors <bors@rust-lang.org> | 2022-03-16 04:05:35 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-03-16 04:05:35 +0000 |
| commit | a2af9cf1cf6ccb195eae40cdd793939bc77e7e73 (patch) | |
| tree | 85776d35bca2bd513ce46e8c0ad1c7c7d17f5588 /src/test/ui/pattern | |
| parent | af446e1d7086d4aeed495f6b03e70009e9424ce4 (diff) | |
| parent | aaf2255379c22f93e53c5fad14453ac7a791ae9e (diff) | |
| download | rust-a2af9cf1cf6ccb195eae40cdd793939bc77e7e73.tar.gz rust-a2af9cf1cf6ccb195eae40cdd793939bc77e7e73.zip | |
Auto merge of #94987 - Dylan-DPC:rollup-5tssuhi, r=Dylan-DPC
Rollup of 5 pull requests Successful merges: - #94868 (Format core and std macro rules, removing needless surrounding blocks) - #94951 (Extend the irrefutable_let_patterns lint to let chains) - #94955 (Refactor: Use `format_args_capture` in some parts of `rustc_parse`) - #94957 (Improve the explanation about the behaviour of read_line) - #94974 (Ensure that `let_else` does not interact with `let_chains`) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'src/test/ui/pattern')
| -rw-r--r-- | src/test/ui/pattern/usefulness/tuple-struct-nonexhaustive.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/pattern/usefulness/tuple-struct-nonexhaustive.stderr b/src/test/ui/pattern/usefulness/tuple-struct-nonexhaustive.stderr index fc0430d06fa..e2a65ff8524 100644 --- a/src/test/ui/pattern/usefulness/tuple-struct-nonexhaustive.stderr +++ b/src/test/ui/pattern/usefulness/tuple-struct-nonexhaustive.stderr @@ -12,7 +12,7 @@ LL | struct Foo(isize, isize); = note: the matched value is of type `Foo` help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown | -LL ~ Foo(2, b) => println!("{}", b) +LL ~ Foo(2, b) => println!("{}", b), LL + Foo(_, _) => todo!() | |
