You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 23, 2024. It is now read-only.
=== stdout ===
=== stderr ===
error[E0005]: refutable pattern in local binding: `&_` not covered
--> /home/runner/work/glacier/glacier/ices/78174.rs:5:9
|
5 | let const { "foo" } = "foo";
| ^^^^^^^^^^^^^^^ 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
= note: the matched value is of type `&str`
help: you might want to use `if let` to ignore the variant that isn't matched
|
5 | if let const { "foo" } = "foo" { /* */ }
|
error: aborting due to previous error
For more information about this error, try `rustc --explain E0005`.
==============
0 commit comments