@@ -1377,7 +1377,7 @@ impl<'a, 'tcx> InferCtxtPrivExt<'tcx> for InferCtxt<'a, 'tcx> {
1377
1377
return ;
1378
1378
}
1379
1379
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) ) ;
1381
1381
if let ObligationCauseCode :: ItemObligation ( def_id) = obligation. cause . code {
1382
1382
self . suggest_fully_qualified_path ( & mut err, def_id, span, trait_ref. def_id ( ) ) ;
1383
1383
} else if let (
@@ -1407,7 +1407,7 @@ impl<'a, 'tcx> InferCtxtPrivExt<'tcx> for InferCtxt<'a, 'tcx> {
1407
1407
// LL | const fn const_val<T: Sized>() -> usize {
1408
1408
// | --------- - required by this bound in `Tt::const_val`
1409
1409
// |
1410
- // = note: cannot resolve `_: Tt`
1410
+ // = note: cannot satisfy `_: Tt`
1411
1411
1412
1412
err. span_suggestion_verbose (
1413
1413
span. shrink_to_hi ( ) ,
@@ -1457,7 +1457,7 @@ impl<'a, 'tcx> InferCtxtPrivExt<'tcx> for InferCtxt<'a, 'tcx> {
1457
1457
return ;
1458
1458
}
1459
1459
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) ) ;
1461
1461
err
1462
1462
}
1463
1463
@@ -1469,10 +1469,10 @@ impl<'a, 'tcx> InferCtxtPrivExt<'tcx> for InferCtxt<'a, 'tcx> {
1469
1469
self . tcx. sess,
1470
1470
span,
1471
1471
E0284 ,
1472
- "type annotations needed: cannot resolve `{}`" ,
1472
+ "type annotations needed: cannot satisfy `{}`" ,
1473
1473
predicate,
1474
1474
) ;
1475
- err. span_label ( span, & format ! ( "cannot resolve `{}`" , predicate) ) ;
1475
+ err. span_label ( span, & format ! ( "cannot satisfy `{}`" , predicate) ) ;
1476
1476
err
1477
1477
}
1478
1478
} ;
0 commit comments