rust/compiler/rustc_trait_selection
Matthias Krüger bcf6f9fa76
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.
2024-08-09 00:03:36 +02:00
..
src Rollup merge of #128791 - compiler-errors:async-fn-unsafe, r=lcnr 2024-08-09 00:03:36 +02:00
Cargo.toml
messages.ftl Move all error reporting into rustc_trait_selection 2024-07-21 22:34:35 -04:00