Fix inhabitedness of non-exhaustive variants.
This commit ensures that non-exhaustive variants are considered inhabited when used in extern crates.
This commit is contained in:
parent
0db087e684
commit
0d034a2e4d
3 changed files with 32 additions and 8 deletions
|
|
@ -1,4 +1,4 @@
|
|||
thread 'rustc' panicked at 'assertion failed: rows.iter().all(|r| r.len() == v.len())', src/librustc_mir/hair/pattern/_match.rs:1071:5
|
||||
thread 'rustc' panicked at 'assertion failed: rows.iter().all(|r| r.len() == v.len())', src/librustc_mir/hair/pattern/_match.rs:1083:5
|
||||
note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
|
||||
|
||||
error: internal compiler error: unexpected panic
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue