diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2023-04-03 16:14:27 +0000 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2023-04-03 16:16:14 +0000 |
| commit | 1dde34b831089a7acbb14e47810b356bbe951301 (patch) | |
| tree | e5dc905d5033923199d7695ca9a96d391f9f63e7 | |
| parent | a8187f8cb136eb5d27f00ec68ef3f7e213f8154d (diff) | |
| download | rust-1dde34b831089a7acbb14e47810b356bbe951301.tar.gz rust-1dde34b831089a7acbb14e47810b356bbe951301.zip | |
Bless ui test.
| -rw-r--r-- | tests/ui/rfc-2008-non-exhaustive/omitted-patterns.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/rfc-2008-non-exhaustive/omitted-patterns.stderr b/tests/ui/rfc-2008-non-exhaustive/omitted-patterns.stderr index 617c629a4fe..4cdda732a91 100644 --- a/tests/ui/rfc-2008-non-exhaustive/omitted-patterns.stderr +++ b/tests/ui/rfc-2008-non-exhaustive/omitted-patterns.stderr @@ -188,7 +188,7 @@ error[E0005]: refutable pattern in local binding --> $DIR/omitted-patterns.rs:194:9 | LL | let local_refutable @ NonExhaustiveEnum::Unit = NonExhaustiveEnum::Unit; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ pattern `_` not covered + | ^^^^^^^^^^^^^^^ pattern `_` 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 |
