about summary refs log tree commit diff
path: root/compiler/rustc_interface/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-08-09 00:03:36 +0200
committerGitHub <noreply@github.com>2024-08-09 00:03:36 +0200
commitbcf6f9fa76e9ffa637f9a8efe6081ee431a1d22e (patch)
tree970cdf5f0525952e35320249b2b4da7c771fdfa5 /compiler/rustc_interface/src
parent95b40727bdaa83fbb3bf687ce70640126d017557 (diff)
parentec1c424293c04258da127ed4dfc8d4289834efe6 (diff)
downloadrust-bcf6f9fa76e9ffa637f9a8efe6081ee431a1d22e.tar.gz
rust-bcf6f9fa76e9ffa637f9a8efe6081ee431a1d22e.zip
Rollup merge of #128791 - compiler-errors:async-fn-unsafe, r=lcnr
Don't implement `AsyncFn` for `FnDef`/`FnPtr` that wouldnt implement `Fn`

Due to unsafety, ABI, or the presence of target features, some `FnDef`/`FnPtr` types don't implement `Fn*`. Do the same for `AsyncFn*`.

Noticed this due to #128764, but this isn't really related to that ICE, which is fixed in #128792.
Diffstat (limited to 'compiler/rustc_interface/src')
0 files changed, 0 insertions, 0 deletions