Add TooGeneric
variant to LayoutError
and emit Unknown
one
- `check-pass` test for a MRE of #135020 - fail test for #135138 - switch to `TooGeneric` for checking CMSE fn signatures - switch to `TooGeneric` for compute `SizeSkeleton` (for transmute) - fix broken tests
This commit is contained in:
parent
15c6f7e1a3
commit
cef97bce7b
29 changed files with 233 additions and 58 deletions
|
@ -197,6 +197,7 @@ pub(crate) mod rustc {
|
|||
match err {
|
||||
LayoutError::Unknown(..)
|
||||
| LayoutError::ReferencesError(..)
|
||||
| LayoutError::TooGeneric(..)
|
||||
| LayoutError::NormalizationFailure(..) => Self::UnknownLayout,
|
||||
LayoutError::SizeOverflow(..) => Self::SizeOverflow,
|
||||
LayoutError::Cycle(err) => Self::TypeError(*err),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue