We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8187f8 commit 1dde34bCopy full SHA for 1dde34b
tests/ui/rfc-2008-non-exhaustive/omitted-patterns.stderr
@@ -188,7 +188,7 @@ error[E0005]: refutable pattern in local binding
188
--> $DIR/omitted-patterns.rs:194:9
189
|
190
LL | let local_refutable @ NonExhaustiveEnum::Unit = NonExhaustiveEnum::Unit;
191
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ pattern `_` not covered
+ | ^^^^^^^^^^^^^^^ pattern `_` not covered
192
193
= note: `let` bindings require an "irrefutable pattern", like a `struct` or an `enum` with only one variant
194
= note: for more information, visit https://doc.rust-lang.org/book/ch18-02-refutability.html
0 commit comments