about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-08-22 14:00:23 +0000
committerbors <bors@rust-lang.org>2022-08-22 14:00:23 +0000
commitfdc28b4333c7fccafbb85af7ccddbbf6f96df9a0 (patch)
treebb2d3bec515d35de3ee5c21d9a3e58f8b895c806 /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff
parentc2310a0af606791248a2d6a6ce98212b1e809179 (diff)
parentac8cb8ce3b81b4f4559809a3aec50cb0799c126f (diff)
downloadrust-fdc28b4333c7fccafbb85af7ccddbbf6f96df9a0.tar.gz
rust-fdc28b4333c7fccafbb85af7ccddbbf6f96df9a0.zip
Auto merge of #13021 - N3xed:fix-gat-panics, r=flodiebold
fix: Fix panics on GATs involving const generics

This workaround avoids constant crashing of rust analyzer when using GATs with const generics,
even when the const generics are only on the `impl` block.

The workaround treats GATs as non-existing if either itself or the parent has const generics and
removes relevant panicking code-paths.

Fixes #11989, fixes #12193
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions