diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-08-12 20:39:12 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-12 20:39:12 +0530 |
| commit | caac670a16eb61620b5fe3bed2a31e8a8b93075a (patch) | |
| tree | 4aac013a07362099788d370af2c66a798a923263 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | 392ba5f11173fdd5ba137c0b9ca7ee7520f76fde (diff) | |
| parent | 0df84ae67c01d44c3d6c0887333bafca1ea7f060 (diff) | |
| download | rust-caac670a16eb61620b5fe3bed2a31e8a8b93075a.tar.gz rust-caac670a16eb61620b5fe3bed2a31e8a8b93075a.zip | |
Rollup merge of #100247 - cjgillot:verify-dyn-trait-alias-defaults, r=lcnr
Generalize trait object generic param check to aliases. The current algorithm only checks that `Self` does not appear in defaults for traits. This is not sufficient for trait aliases. This PR moves the check to trait object elaboration, which sees through trait aliases. Fixes https://github.com/rust-lang/rust/issues/82927. Fixes https://github.com/rust-lang/rust/issues/84789.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
