@@ -4246,7 +4246,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
42464246 /// - Possible missing return type if the return type is the default, and not `fn main()`.
42474247 pub fn suggest_mismatched_types_on_tail (
42484248 & self ,
4249- err : & mut DiagnosticBuilder < ' tcx > ,
4249+ err : & mut DiagnosticBuilder < ' _ > ,
42504250 expr : & ' tcx hir:: Expr ,
42514251 expected : Ty < ' tcx > ,
42524252 found : Ty < ' tcx > ,
@@ -4273,7 +4273,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
42734273 /// ```
42744274 fn suggest_fn_call (
42754275 & self ,
4276- err : & mut DiagnosticBuilder < ' tcx > ,
4276+ err : & mut DiagnosticBuilder < ' _ > ,
42774277 expr : & hir:: Expr ,
42784278 expected : Ty < ' tcx > ,
42794279 found : Ty < ' tcx > ,
@@ -4386,7 +4386,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
43864386
43874387 pub fn suggest_ref_or_into (
43884388 & self ,
4389- err : & mut DiagnosticBuilder < ' tcx > ,
4389+ err : & mut DiagnosticBuilder < ' _ > ,
43904390 expr : & hir:: Expr ,
43914391 expected : Ty < ' tcx > ,
43924392 found : Ty < ' tcx > ,
@@ -4454,7 +4454,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
44544454 /// in the heap by calling `Box::new()`.
44554455 fn suggest_boxing_when_appropriate (
44564456 & self ,
4457- err : & mut DiagnosticBuilder < ' tcx > ,
4457+ err : & mut DiagnosticBuilder < ' _ > ,
44584458 expr : & hir:: Expr ,
44594459 expected : Ty < ' tcx > ,
44604460 found : Ty < ' tcx > ,
@@ -4498,7 +4498,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
44984498 /// it suggests adding a semicolon.
44994499 fn suggest_missing_semicolon (
45004500 & self ,
4501- err : & mut DiagnosticBuilder < ' tcx > ,
4501+ err : & mut DiagnosticBuilder < ' _ > ,
45024502 expression : & ' tcx hir:: Expr ,
45034503 expected : Ty < ' tcx > ,
45044504 cause_span : Span ,
@@ -4537,7 +4537,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
45374537 /// type.
45384538 fn suggest_missing_return_type (
45394539 & self ,
4540- err : & mut DiagnosticBuilder < ' tcx > ,
4540+ err : & mut DiagnosticBuilder < ' _ > ,
45414541 fn_decl : & hir:: FnDecl ,
45424542 expected : Ty < ' tcx > ,
45434543 found : Ty < ' tcx > ,
@@ -4603,7 +4603,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
46034603 /// `.await` to the tail of the expression.
46044604 fn suggest_missing_await (
46054605 & self ,
4606- err : & mut DiagnosticBuilder < ' tcx > ,
4606+ err : & mut DiagnosticBuilder < ' _ > ,
46074607 expr : & hir:: Expr ,
46084608 expected : Ty < ' tcx > ,
46094609 found : Ty < ' tcx > ,
0 commit comments