about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-08-12 20:39:12 +0530
committerGitHub <noreply@github.com>2022-08-12 20:39:12 +0530
commitcaac670a16eb61620b5fe3bed2a31e8a8b93075a (patch)
tree4aac013a07362099788d370af2c66a798a923263 /compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp
parent392ba5f11173fdd5ba137c0b9ca7ee7520f76fde (diff)
parent0df84ae67c01d44c3d6c0887333bafca1ea7f060 (diff)
downloadrust-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/ArchiveWrapper.cpp')
0 files changed, 0 insertions, 0 deletions