about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/tools/generate_intrinsics.py
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2025-01-11 18:13:46 +0100
committerGitHub <noreply@github.com>2025-01-11 18:13:46 +0100
commit2bcd5cf1ecf684511d0a842ce5495a1595e0ce95 (patch)
treefb36aa710b292782af35accf7da2a5c910199a08 /compiler/rustc_codegen_gcc/tools/generate_intrinsics.py
parentb8e230a82413ea1c8274a7aa50317c4e5b084abf (diff)
parent857918e9bcb22476d7d4477ca335b7c44d315d37 (diff)
downloadrust-2bcd5cf1ecf684511d0a842ce5495a1595e0ce95.tar.gz
rust-2bcd5cf1ecf684511d0a842ce5495a1595e0ce95.zip
Rollup merge of #134776 - estebank:vanilla-ice, r=lcnr
Avoid ICE: Account for `for<'a>` types when checking for non-structural type in constant as pattern

When we encounter a constant in a pattern, we check if it is non-structural. If so, we check if the type implements `PartialEq`, but for types with escaping bound vars the check would be incorrect as is, so we break early. This is ok because these types would be filtered anyways.

Slight tweak to output to remove unnecessary context as a drive-by.

Fix #134764.
Diffstat (limited to 'compiler/rustc_codegen_gcc/tools/generate_intrinsics.py')
0 files changed, 0 insertions, 0 deletions