@@ -4245,7 +4245,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
4245
4245
/// - Possible missing return type if the return type is the default, and not `fn main()`.
4246
4246
pub fn suggest_mismatched_types_on_tail (
4247
4247
& self ,
4248
- err : & mut DiagnosticBuilder < ' tcx > ,
4248
+ err : & mut DiagnosticBuilder < ' _ > ,
4249
4249
expr : & ' tcx hir:: Expr ,
4250
4250
expected : Ty < ' tcx > ,
4251
4251
found : Ty < ' tcx > ,
@@ -4272,7 +4272,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
4272
4272
/// ```
4273
4273
fn suggest_fn_call (
4274
4274
& self ,
4275
- err : & mut DiagnosticBuilder < ' tcx > ,
4275
+ err : & mut DiagnosticBuilder < ' _ > ,
4276
4276
expr : & hir:: Expr ,
4277
4277
expected : Ty < ' tcx > ,
4278
4278
found : Ty < ' tcx > ,
@@ -4385,7 +4385,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
4385
4385
4386
4386
pub fn suggest_ref_or_into (
4387
4387
& self ,
4388
- err : & mut DiagnosticBuilder < ' tcx > ,
4388
+ err : & mut DiagnosticBuilder < ' _ > ,
4389
4389
expr : & hir:: Expr ,
4390
4390
expected : Ty < ' tcx > ,
4391
4391
found : Ty < ' tcx > ,
@@ -4453,7 +4453,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
4453
4453
/// in the heap by calling `Box::new()`.
4454
4454
fn suggest_boxing_when_appropriate (
4455
4455
& self ,
4456
- err : & mut DiagnosticBuilder < ' tcx > ,
4456
+ err : & mut DiagnosticBuilder < ' _ > ,
4457
4457
expr : & hir:: Expr ,
4458
4458
expected : Ty < ' tcx > ,
4459
4459
found : Ty < ' tcx > ,
@@ -4497,7 +4497,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
4497
4497
/// it suggests adding a semicolon.
4498
4498
fn suggest_missing_semicolon (
4499
4499
& self ,
4500
- err : & mut DiagnosticBuilder < ' tcx > ,
4500
+ err : & mut DiagnosticBuilder < ' _ > ,
4501
4501
expression : & ' tcx hir:: Expr ,
4502
4502
expected : Ty < ' tcx > ,
4503
4503
cause_span : Span ,
@@ -4536,7 +4536,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
4536
4536
/// type.
4537
4537
fn suggest_missing_return_type (
4538
4538
& self ,
4539
- err : & mut DiagnosticBuilder < ' tcx > ,
4539
+ err : & mut DiagnosticBuilder < ' _ > ,
4540
4540
fn_decl : & hir:: FnDecl ,
4541
4541
expected : Ty < ' tcx > ,
4542
4542
found : Ty < ' tcx > ,
@@ -4602,7 +4602,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
4602
4602
/// `.await` to the tail of the expression.
4603
4603
fn suggest_missing_await (
4604
4604
& self ,
4605
- err : & mut DiagnosticBuilder < ' tcx > ,
4605
+ err : & mut DiagnosticBuilder < ' _ > ,
4606
4606
expr : & hir:: Expr ,
4607
4607
expected : Ty < ' tcx > ,
4608
4608
found : Ty < ' tcx > ,
0 commit comments