1
Fork 0

Rollup merge of #126833 - RalfJung:extern-type-field-ice, r=compiler-errors

don't ICE when encountering an extern type field during validation

"extern type" is a pain that keeps on giving...

Fixes https://github.com/rust-lang/rust/issues/126814

r? ```@oli-obk```
This commit is contained in:
Matthias Krüger 2024-06-23 22:39:00 +02:00 committed by GitHub
commit a9959bd1ab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 97 additions and 82 deletions

View file

@ -520,6 +520,8 @@ pub enum UnsupportedOpInfo {
Unsupported(String),
/// Unsized local variables.
UnsizedLocal,
/// Extern type field with an indeterminate offset.
ExternTypeField,
//
// The variants below are only reachable from CTFE/const prop, miri will never emit them.
//