about summary refs log tree commit diff
path: root/compiler/rustc_middle/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-03-30 17:56:26 +0000
committerbors <bors@rust-lang.org>2024-03-30 17:56:26 +0000
commit70714e38f224ef1d50f3f772808fff65d7a29c0b (patch)
tree0e41dd2119e77c101a49a07ec5f6f87521558932 /compiler/rustc_middle/src
parentef493651025db2d5c38225c12ef97fd832c00c4a (diff)
parent8cc9a912d7daf092adc53f0b6b7fac5e86fa7e0a (diff)
downloadrust-70714e38f224ef1d50f3f772808fff65d7a29c0b.tar.gz
rust-70714e38f224ef1d50f3f772808fff65d7a29c0b.zip
Auto merge of #123106 - maurer:cfi-closures, r=compiler-errors
CFI: Abstract Closures and Coroutines

This will abstract coroutines in a moment, it's just abstracting closures for now to show `@rcvalle`

This uses the same principal as the methods on traits - figure out the `dyn` type representing the fn trait, instantiate it, and attach that alias set. We're essentially just computing how we would be called in a dynamic context, and attaching that.
Diffstat (limited to 'compiler/rustc_middle/src')
0 files changed, 0 insertions, 0 deletions