@@ -4245,7 +4245,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
42454245 /// - Possible missing return type if the return type is the default, and not `fn main()`.
42464246 pub fn suggest_mismatched_types_on_tail (
42474247 & self ,
4248- err : & mut DiagnosticBuilder < ' tcx > ,
4248+ err : & mut DiagnosticBuilder < ' _ > ,
42494249 expr : & ' tcx hir:: Expr ,
42504250 expected : Ty < ' tcx > ,
42514251 found : Ty < ' tcx > ,
@@ -4272,7 +4272,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
42724272 /// ```
42734273 fn suggest_fn_call (
42744274 & self ,
4275- err : & mut DiagnosticBuilder < ' tcx > ,
4275+ err : & mut DiagnosticBuilder < ' _ > ,
42764276 expr : & hir:: Expr ,
42774277 expected : Ty < ' tcx > ,
42784278 found : Ty < ' tcx > ,
@@ -4385,7 +4385,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
43854385
43864386 pub fn suggest_ref_or_into (
43874387 & self ,
4388- err : & mut DiagnosticBuilder < ' tcx > ,
4388+ err : & mut DiagnosticBuilder < ' _ > ,
43894389 expr : & hir:: Expr ,
43904390 expected : Ty < ' tcx > ,
43914391 found : Ty < ' tcx > ,
@@ -4453,7 +4453,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
44534453 /// in the heap by calling `Box::new()`.
44544454 fn suggest_boxing_when_appropriate (
44554455 & self ,
4456- err : & mut DiagnosticBuilder < ' tcx > ,
4456+ err : & mut DiagnosticBuilder < ' _ > ,
44574457 expr : & hir:: Expr ,
44584458 expected : Ty < ' tcx > ,
44594459 found : Ty < ' tcx > ,
@@ -4497,7 +4497,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
44974497 /// it suggests adding a semicolon.
44984498 fn suggest_missing_semicolon (
44994499 & self ,
4500- err : & mut DiagnosticBuilder < ' tcx > ,
4500+ err : & mut DiagnosticBuilder < ' _ > ,
45014501 expression : & ' tcx hir:: Expr ,
45024502 expected : Ty < ' tcx > ,
45034503 cause_span : Span ,
@@ -4536,7 +4536,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
45364536 /// type.
45374537 fn suggest_missing_return_type (
45384538 & self ,
4539- err : & mut DiagnosticBuilder < ' tcx > ,
4539+ err : & mut DiagnosticBuilder < ' _ > ,
45404540 fn_decl : & hir:: FnDecl ,
45414541 expected : Ty < ' tcx > ,
45424542 found : Ty < ' tcx > ,
@@ -4602,7 +4602,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
46024602 /// `.await` to the tail of the expression.
46034603 fn suggest_missing_await (
46044604 & self ,
4605- err : & mut DiagnosticBuilder < ' tcx > ,
4605+ err : & mut DiagnosticBuilder < ' _ > ,
46064606 expr : & hir:: Expr ,
46074607 expected : Ty < ' tcx > ,
46084608 found : Ty < ' tcx > ,
0 commit comments