File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
compiler/rustc_next_trait_solver/src/solve/assembly Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -461,15 +461,15 @@ pub(in crate::solve) fn extract_tupled_inputs_and_output_from_async_callable<I:
461
461
462
462
ty:: FnDef ( def_id, _) => {
463
463
let sig = self_ty. fn_sig ( cx) ;
464
- if sig. skip_binder ( ) . is_fn_trait_compatible ( ) && !cx. has_target_features ( def_id) {
464
+ if sig. is_fn_trait_compatible ( ) && !cx. has_target_features ( def_id) {
465
465
fn_item_to_async_callable ( cx, sig)
466
466
} else {
467
467
Err ( NoSolution )
468
468
}
469
469
}
470
470
ty:: FnPtr ( ..) => {
471
471
let sig = self_ty. fn_sig ( cx) ;
472
- if sig. skip_binder ( ) . is_fn_trait_compatible ( ) {
472
+ if sig. is_fn_trait_compatible ( ) {
473
473
fn_item_to_async_callable ( cx, sig)
474
474
} else {
475
475
Err ( NoSolution )
You can’t perform that action at this time.
0 commit comments