rust/compiler/rustc_trait_selection/src
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
..
error_reporting Rollup merge of #128527 - estebank:ambiguity-suggestion, r=Nadrieril 2024-08-07 15:59:36 +02:00
errors Reformat use declarations. 2024-07-29 08:26:52 +10:00
solve Reformat use declarations. 2024-07-29 08:26:52 +10:00
traits Don't implement AsyncFn for FnDef/FnPtr that wouldnt implement Fn 2024-08-08 14:07:31 -04:00
errors.rs Auto merge of #128083 - Mark-Simulacrum:bump-bootstrap, r=albertlarsan68 2024-07-30 17:49:08 +00:00
infer.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
lib.rs Move all error reporting into rustc_trait_selection 2024-07-21 22:34:35 -04:00
regions.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
solve.rs Rename a bunch of things 2024-06-21 12:32:05 -04:00