about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2020-03-11 10:36:31 +0100
committerGitHub <noreply@github.com>2020-03-11 10:36:31 +0100
commita05bab59259fb8baec236363d7f40925644e17ec (patch)
treef75c028fcd2ffc05672003db33bb2fae66548181 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parent62e3daee3f0f239625de5c7fe54d38e624a3eaa5 (diff)
parent4d16c217b8074784b1faad07f5a284e4a6999b53 (diff)
downloadrust-a05bab59259fb8baec236363d7f40925644e17ec.tar.gz
rust-a05bab59259fb8baec236363d7f40925644e17ec.zip
Rollup merge of #69891 - Centril:fix-69875, r=varkor
Exhaustiveness checking, `Matrix::push`: recursively expand or-patterns

> There's an implicit invariant that there should be no or-patterns directly in the first column of the matrix, but this invariant is broken exactly when an or-pattern has a child that is itself an or-pattern.

Here we preserve this broken invariant by recursively expanding `PatKind::Or`s in `Matrix::push`.
Fixes https://github.com/rust-lang/rust/issues/69875.

r? @varkor
cc @Nadrieril
cc https://github.com/rust-lang/rust/issues/54883
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions