diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2023-02-27 17:43:39 +0000 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2023-04-03 15:59:21 +0000 |
| commit | 05082f57afbf5d2e8fd7fb67719336d78b58e759 (patch) | |
| tree | a72e7d2f80d19f2d38e666901570cc781187e0db /tests/ui/pattern/suggest-adding-appropriate-missing-pattern-excluding-comments.fixed | |
| parent | 3b47cdc4398c8d7b422077372bb65e95ecc637d8 (diff) | |
| download | rust-05082f57afbf5d2e8fd7fb67719336d78b58e759.tar.gz rust-05082f57afbf5d2e8fd7fb67719336d78b58e759.zip | |
Perform match checking on THIR.
Diffstat (limited to 'tests/ui/pattern/suggest-adding-appropriate-missing-pattern-excluding-comments.fixed')
| -rw-r--r-- | tests/ui/pattern/suggest-adding-appropriate-missing-pattern-excluding-comments.fixed | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/pattern/suggest-adding-appropriate-missing-pattern-excluding-comments.fixed b/tests/ui/pattern/suggest-adding-appropriate-missing-pattern-excluding-comments.fixed index b28dce88105..b469fade3ea 100644 --- a/tests/ui/pattern/suggest-adding-appropriate-missing-pattern-excluding-comments.fixed +++ b/tests/ui/pattern/suggest-adding-appropriate-missing-pattern-excluding-comments.fixed @@ -4,7 +4,7 @@ fn main() { match Some(1) { //~ ERROR non-exhaustive patterns: `None` not covered Some(1) => {} // hello - Some(_) => {} + Some(_) => {}, None => todo!() } } |
