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