about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff
diff options
context:
space:
mode:
authorDominik Gschwind <dominik.gschwind99@gmail.com>2022-08-16 17:30:17 +0200
committerDominik Gschwind <dominik.gschwind99@gmail.com>2022-08-16 17:30:17 +0200
commitad7a1ed8cc9ba44c6a294317a2289a0b6fd75219 (patch)
treecbf658c58e469840cf77ff19301c9c7eba64d731 /tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff
parentb6d59f2bb4fae0ba4f74e2c967b5e2f777f8c860 (diff)
downloadrust-ad7a1ed8cc9ba44c6a294317a2289a0b6fd75219.tar.gz
rust-ad7a1ed8cc9ba44c6a294317a2289a0b6fd75219.zip
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.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions