about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-08-11 11:14:56 +0530
committerGitHub <noreply@github.com>2022-08-11 11:14:56 +0530
commita9f3a27adcccc9cfe07baed2260663f0bb14711a (patch)
treed32afbc3677b6a3ce006b50541d5e06c24dcd1b4 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent58dc085e270a0ecdbdeabd928ebb7583f499542c (diff)
parent0df84ae67c01d44c3d6c0887333bafca1ea7f060 (diff)
downloadrust-a9f3a27adcccc9cfe07baed2260663f0bb14711a.tar.gz
rust-a9f3a27adcccc9cfe07baed2260663f0bb14711a.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/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions