diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2024-12-26 01:30:29 +0000 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2025-01-11 01:10:29 +0000 |
| commit | 05c39438e295389e30a580a5376bbed83b1ddfa1 (patch) | |
| tree | 3d33a0f134138ddd60b0e141d96bf6f52f0a307d /compiler/rustc_codegen_gcc/tools/generate_intrinsics.py | |
| parent | 760b6f8de4e10fed2a9a6aade810073296b1d5e9 (diff) | |
| download | rust-05c39438e295389e30a580a5376bbed83b1ddfa1.tar.gz rust-05c39438e295389e30a580a5376bbed83b1ddfa1.zip | |
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. Fix #134764.
Diffstat (limited to 'compiler/rustc_codegen_gcc/tools/generate_intrinsics.py')
0 files changed, 0 insertions, 0 deletions
