about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src
diff options
context:
space:
mode:
authorMatthew Maurer <mmaurer@google.com>2024-03-24 18:56:15 +0000
committerMatthew Maurer <mmaurer@google.com>2024-03-29 18:15:41 +0000
commitd301f40c84c0a65ee7b86a6cdcca3544ab5db0fe (patch)
tree5708dec1ca4f8ac4f2fcb4b8f82f470f0dfd0fc9 /compiler/rustc_pattern_analysis/src
parentd779a7a25f67fced5f8fea232ef407c5b228a22f (diff)
downloadrust-d301f40c84c0a65ee7b86a6cdcca3544ab5db0fe.tar.gz
rust-d301f40c84c0a65ee7b86a6cdcca3544ab5db0fe.zip
CFI: Encode Virtual calls as calls through the defining trait
For example, if `trait Foo: Bar`, and we try to call a method from `Bar`
on `dyn Foo`, encode the callsite as passing a `dyn Bar`, not a `dyn
Foo`.
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions