diff options
| author | David Tolnay <dtolnay@gmail.com> | 2022-03-09 21:30:52 -0800 |
|---|---|---|
| committer | David Tolnay <dtolnay@gmail.com> | 2022-03-11 15:26:51 -0800 |
| commit | af53809c874e0afb7be966df4d3cfcaa05277c53 (patch) | |
| tree | b9ce5ccc496308e493103880061736a7b4485007 /src/test/ui/pattern | |
| parent | 335ffbfa547df94ac236f5c56130cecf99c8d82b (diff) | |
| download | rust-af53809c874e0afb7be966df4d3cfcaa05277c53.tar.gz rust-af53809c874e0afb7be966df4d3cfcaa05277c53.zip | |
Format core and std macro rules, removing needless surrounding blocks
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!() | |
