diff options
| author | David Tolnay <dtolnay@gmail.com> | 2022-04-26 15:16:23 -0700 |
|---|---|---|
| committer | David Tolnay <dtolnay@gmail.com> | 2022-04-27 13:22:41 -0700 |
| commit | 3a8f81aac94ccb4051410232e4f39b89ed6dae4e (patch) | |
| tree | c0e6d0536e8ffdce4fb29c8494beb5d111be0775 /src/test/ui/pattern | |
| parent | 69a5d2481e856a5a18885390b8cf6950b9ff8dd3 (diff) | |
| download | rust-3a8f81aac94ccb4051410232e4f39b89ed6dae4e.tar.gz rust-3a8f81aac94ccb4051410232e4f39b89ed6dae4e.zip | |
Make [e]println macros eagerly drop temporaries (for backport)
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 e2a65ff8524..fc0430d06fa 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!() | |
