diff options
author | Matthew Maurer <mmaurer@google.com> | 2022-12-28 14:31:31 -0800 |
---|---|---|
committer | Matthew Maurer <mmaurer@google.com> | 2022-12-29 10:21:07 -0800 |
commit | fb2c27d73f3528da5585bc7e49254164e0a2a5a2 (patch) | |
tree | dc51f9bf040feec6a3fa60c6ac57135920050181 /tests/rustdoc-js-std/parser-errors.js | |
parent | 270c94e484e19764a2832ef918c95224eb3f17c7 (diff) | |
download | rust-fb2c27d73f3528da5585bc7e49254164e0a2a5a2.tar.gz |
CFI: Monomorphize transparent ADTs before typeid
Monomorphise `#[repr(transparent)]` parameterized ADTs before turning
them into an Itanium mangled String.
`#[repr(transparent)]` ADTs currently use the single field to represent
them in their CFI type ID to ensure that they are compatible. However,
if that type involves a type parameter instantiated at the ADT level, as
in `ManuallyDrop`, this will currently ICE as the `Parameter` type
cannot be mangled. Since this happens at lowering time, it should always
be concrete after substitution.
Fixes #106230
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions