@@ -1377,7 +1377,7 @@ impl<'a, 'tcx> InferCtxtPrivExt<'tcx> for InferCtxt<'a, 'tcx> {
13771377 return ;
13781378 }
13791379 let mut err = self . need_type_info_err ( body_id, span, self_ty, ErrorCode :: E0283 ) ;
1380- err. note ( & format ! ( "cannot resolve `{}`" , predicate) ) ;
1380+ err. note ( & format ! ( "cannot satisfy `{}`" , predicate) ) ;
13811381 if let ObligationCauseCode :: ItemObligation ( def_id) = obligation. cause . code {
13821382 self . suggest_fully_qualified_path ( & mut err, def_id, span, trait_ref. def_id ( ) ) ;
13831383 } else if let (
@@ -1407,7 +1407,7 @@ impl<'a, 'tcx> InferCtxtPrivExt<'tcx> for InferCtxt<'a, 'tcx> {
14071407 // LL | const fn const_val<T: Sized>() -> usize {
14081408 // | --------- - required by this bound in `Tt::const_val`
14091409 // |
1410- // = note: cannot resolve `_: Tt`
1410+ // = note: cannot satisfy `_: Tt`
14111411
14121412 err. span_suggestion_verbose (
14131413 span. shrink_to_hi ( ) ,
@@ -1457,7 +1457,7 @@ impl<'a, 'tcx> InferCtxtPrivExt<'tcx> for InferCtxt<'a, 'tcx> {
14571457 return ;
14581458 }
14591459 let mut err = self . need_type_info_err ( body_id, span, self_ty, ErrorCode :: E0284 ) ;
1460- err. note ( & format ! ( "cannot resolve `{}`" , predicate) ) ;
1460+ err. note ( & format ! ( "cannot satisfy `{}`" , predicate) ) ;
14611461 err
14621462 }
14631463
@@ -1469,10 +1469,10 @@ impl<'a, 'tcx> InferCtxtPrivExt<'tcx> for InferCtxt<'a, 'tcx> {
14691469 self . tcx. sess,
14701470 span,
14711471 E0284 ,
1472- "type annotations needed: cannot resolve `{}`" ,
1472+ "type annotations needed: cannot satisfy `{}`" ,
14731473 predicate,
14741474 ) ;
1475- err. span_label ( span, & format ! ( "cannot resolve `{}`" , predicate) ) ;
1475+ err. span_label ( span, & format ! ( "cannot satisfy `{}`" , predicate) ) ;
14761476 err
14771477 }
14781478 } ;
0 commit comments