diff options
| author | Jason Newcomb <jsnewcomb@pm.me> | 2025-05-19 23:33:39 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-19 23:33:39 +0000 |
| commit | 6753e164be65dbb24f6a5b43b65e08772a313d2d (patch) | |
| tree | 77ac74a481c84d414d3a5e78d4f7b5c27a7b09e0 /compiler/rustc_codegen_llvm/src | |
| parent | 66697e84b19c117b308eb1c02edcd6e6f299e30d (diff) | |
| parent | 72a4e33d69d982c6d26d19d65e136f21bded3184 (diff) | |
| download | rust-6753e164be65dbb24f6a5b43b65e08772a313d2d.tar.gz rust-6753e164be65dbb24f6a5b43b65e08772a313d2d.zip | |
Fix ICE while computing type layout (#14837)
If a type is incomplete, for example if generic parameters are not available yet, although they are not escaping, its layout may not be computable. Calling `TyCtxt::layout_of()` would create a delayed bug in the compiler. changelog: [`zero_sized_map_values`]: fix ICE Fixes rust-lang/rust-clippy#14822 r? @Jarcho
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
