about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-03-30 06:38:18 +0000
committerbors <bors@rust-lang.org>2024-03-30 06:38:18 +0000
commit50e3d6296d6e7c1d0f4e85f674139c8463f62934 (patch)
treed55f2a69e7d4e16027c334f04a83b8d482914503 /compiler/rustc_pattern_analysis/src
parent174d07b539eaafed82f098d5ec86713312aa02c3 (diff)
parentd301f40c84c0a65ee7b86a6cdcca3544ab5db0fe (diff)
downloadrust-50e3d6296d6e7c1d0f4e85f674139c8463f62934.tar.gz
rust-50e3d6296d6e7c1d0f4e85f674139c8463f62934.zip
Auto merge of #123012 - maurer:cfi-supertraits, r=compiler-errors
CFI: Support calling methods on supertraits

Automatically adjust `Virtual` calls to supertrait functions to use the supertrait's trait object type as the receiver rather than the child trait.

cc `@compiler-errors` - this is the next usage of `trait_object_ty` I intend to have, so I thought it might be relevant while reviewing the existing one.
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions