We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
skip_binder
1 parent c4717cc commit 9e95a2bCopy full SHA for 9e95a2b
compiler/rustc_next_trait_solver/src/solve/assembly/structural_traits.rs
@@ -461,15 +461,15 @@ pub(in crate::solve) fn extract_tupled_inputs_and_output_from_async_callable<I:
461
462
ty::FnDef(def_id, _) => {
463
let sig = self_ty.fn_sig(cx);
464
- if sig.skip_binder().is_fn_trait_compatible() && !cx.has_target_features(def_id) {
+ if sig.is_fn_trait_compatible() && !cx.has_target_features(def_id) {
465
fn_item_to_async_callable(cx, sig)
466
} else {
467
Err(NoSolution)
468
}
469
470
ty::FnPtr(..) => {
471
472
- if sig.skip_binder().is_fn_trait_compatible() {
+ if sig.is_fn_trait_compatible() {
473
474
475
0 commit comments