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 <bors@rust-lang.org>2019-02-25 12:30:35 +0000
committerbors <bors@rust-lang.org>2019-02-25 12:30:35 +0000
commit1ac6f4e9ae77296abe4d46aec33fa76108442d7f (patch)
tree33f27a0822088588448195968fcf39f9562a621c /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff
parentcd29740e6ece9bc5a99a72b987e8e6e39e67fc72 (diff)
parent75f39881d4ad76a2aa2bfacdfbd8d49e5d92a0e8 (diff)
downloadrust-1ac6f4e9ae77296abe4d46aec33fa76108442d7f.tar.gz
rust-1ac6f4e9ae77296abe4d46aec33fa76108442d7f.zip
Auto merge of #3772 - flip1995:ice-3719, r=Manishearth
Fix ICE #3719+#3718 in lint match_ref_pats

Fixes #3719
This conveniently also fixes #3718

The ICE occurs when the match expression was a macro call, where the macro was defined in another file. Since we don't have the ability to reproduce this behavior with our UI tests (AFAIK), I couldn't add a test reproducing this ICE.. However, I added a test which is related to the ICE, to show the new behavior of the lint.

I tested it with the mscheme repo locally and the ICE didn't happen anymore.

r? @matthiaskrgr
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions