about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2022-04-04 20:08:37 +0000
committerGitHub <noreply@github.com>2022-04-04 20:08:37 +0000
commit5a6918f1c4e9d4f0c6a655e6283470f64edd64cf (patch)
treee9422571206c51fe83d65d3a0b891a5676607028 /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff
parentbf6303df3721119090dfb50340f6cccc71d5ccc8 (diff)
parent86665e50c2072725802f58e9dd1cd28d4644eb9f (diff)
downloadrust-5a6918f1c4e9d4f0c6a655e6283470f64edd64cf.tar.gz
rust-5a6918f1c4e9d4f0c6a655e6283470f64edd64cf.zip
Merge #11899
11899: fix: Skip match check on patterns of unexpected TyKind::FnDef r=Veykril a=iDawer

Match checking does not expect patterns of `TyKind::FnDef` type.
It seems that in _rustc_ match checking is ruled out due to such type errors at the typecheck stage.

Spotted in #11319

Co-authored-by: iDawer <ilnur.iskhakov.oss@outlook.com>
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions