diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2025-03-01 05:49:56 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-01 05:49:56 +0100 |
| commit | 472bc0ee257ab6f387e5d9b9dd2a718372fa0c3a (patch) | |
| tree | 19efe26c3408dc914deb1069d5d130b001ab5abe /compiler/rustc_trait_selection/src/traits/select | |
| parent | ecfb7d281159fe407e93ee33ca67825a8c3306a7 (diff) | |
| parent | d504f70ec9e56a49337173d384061d0b1cdd15e8 (diff) | |
| download | rust-472bc0ee257ab6f387e5d9b9dd2a718372fa0c3a.tar.gz rust-472bc0ee257ab6f387e5d9b9dd2a718372fa0c3a.zip | |
Rollup merge of #137742 - mu001999-contrib:fix-137708, r=compiler-errors
unconditionally lower match arm even if it's unneeded for never pattern in match fixes #137708 Lowering arm body is skipped when lowering match arm with never pattern, but we may need the HirId for DefId in the body in later passes. And then we got the ICE `No HirId for DefId`. Fixes this by lowering the arm body even if it's unneeded for never pattern in match, so that we can generate HirId and use it then. r? `@compiler-errors`
Diffstat (limited to 'compiler/rustc_trait_selection/src/traits/select')
0 files changed, 0 insertions, 0 deletions
