diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-03-25 11:00:14 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-25 11:00:14 +0100 |
| commit | 84ec66e15bf630246cf3f81c2d86a09fa9fad604 (patch) | |
| tree | b770b35ed29a0588555c506e288af31e39169ed6 /compiler/rustc_codegen_llvm/src/builder.rs | |
| parent | d1fca0666215ba93ffe14beec9443f14bfaffb74 (diff) | |
| parent | ea4518522f65480eb507a255dc215d39231e659f (diff) | |
| download | rust-84ec66e15bf630246cf3f81c2d86a09fa9fad604.tar.gz rust-84ec66e15bf630246cf3f81c2d86a09fa9fad604.zip | |
Rollup merge of #123003 - maurer:dyn-empty, r=compiler-errors
CFI: Handle dyn with no principal In user-facing Rust, `dyn` always has at least one predicate following it. Unfortunately, because we filter out marker traits from receivers at callsites and `dyn Sync` is, for example, legal, this results in us having `dyn` types with no predicates on occasion in our alias set encoding. This patch handles cases where there are no predicates in a `dyn` type which are relevant to its alias set. Fixes #122998 r? workingjubilee
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/builder.rs')
0 files changed, 0 insertions, 0 deletions
