Skip to content
This repository was archived by the owner on May 23, 2024. It is now read-only.

Commit d5a1e08

Browse files
committed
ices/78174.rs: fixed with errors
=== 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`. ==============
1 parent 114c9de commit d5a1e08

File tree

1 file changed

+0
-0
lines changed

1 file changed

+0
-0
lines changed
File renamed without changes.

0 commit comments

Comments
 (0)