mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-16 00:43:50 +00:00
7 lines
240 B
Rust
7 lines
240 B
Rust
![]() |
// This used to ICE in exhaustiveness checking. Explanation here:
|
||
|
// https://github.com/rust-lang/rust/issues/82772#issuecomment-905946768
|
||
|
fn main() {
|
||
|
let Box { 1: _, .. }: Box<()>; //~ ERROR field `1` of
|
||
|
let Box { .. }: Box<()>;
|
||
|
}
|