-
Notifications
You must be signed in to change notification settings - Fork 13.3k
CFI: Fix cfi with repr(transparent): transform_ty: unexpected Alias(Proj #112182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
r? @b-naber (rustbot has picked a reviewer for you, use r? to override) |
r? @bjorn3 |
compiler/rustc_symbol_mangling/src/typeid/typeid_itanium_cxx_abi.rs
Outdated
Show resolved
Hide resolved
b134e20
to
40630ce
Compare
compiler/rustc_symbol_mangling/src/typeid/typeid_itanium_cxx_abi.rs
Outdated
Show resolved
Hide resolved
Fixes rust-lang#111185 by normalizing ty::Alias before encoding.
40630ce
to
faf31b5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is fine for now.
It may have some strange interactions with typeid_for_instance
, since as I think I've pointed out in a previous PR, it's (probably) not correct to be using the unsubstituted impl trait ref in that PR. But that's not really a blocker on this PR.
r? @compiler-errors @bors r+ |
Thank you for your time and for your help on this, @compiler-errors! Much appreciated. (I'll also go back and check what you pointed out in our discussions in the previous PR as soon as I've a chance.) |
…iaskrgr Rollup of 6 pull requests Successful merges: - rust-lang#111647 (use c literals in compiler and library) - rust-lang#112165 (Rename `impl_defaultness` to `defaultness`) - rust-lang#112182 (CFI: Fix cfi with repr(transparent): transform_ty: unexpected Alias(Proj) - rust-lang#112189 (Debug-assert that closures and generators are made with the right number of substitutions) - rust-lang#112205 (Add rustdoc test for double-hyphen to dash doc comment conversion) - rust-lang#112206 (Fix typo in `std::cell` module docs) r? `@ghost` `@rustbot` modify labels: rollup
Fixes #111185 by normalizing ty::Alias before encoding.