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:
461461
462462 ty:: FnDef ( def_id, _) => {
463463 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) {
465465 fn_item_to_async_callable ( cx, sig)
466466 } else {
467467 Err ( NoSolution )
468468 }
469469 }
470470 ty:: FnPtr ( ..) => {
471471 let sig = self_ty. fn_sig ( cx) ;
472- if sig. skip_binder ( ) . is_fn_trait_compatible ( ) {
472+ if sig. is_fn_trait_compatible ( ) {
473473 fn_item_to_async_callable ( cx, sig)
474474 } else {
475475 Err ( NoSolution )
You can’t perform that action at this time.
0 commit comments