File tree Expand file tree Collapse file tree 2 files changed +0
-3
lines changed Expand file tree Collapse file tree 2 files changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -163,7 +163,6 @@ infer_region_explanation = {$pref_kind ->
163163 [ as_defined ] the lifetime `{ $desc_arg } ` as defined here
164164 [ as_defined_anon ] the anonymous lifetime as defined here
165165 [ defined_here ] the anonymous lifetime defined here
166- [ anon_num_here ] the anonymous lifetime #{ $desc_num_arg } defined here
167166 [ defined_here_reg ] the lifetime `{ $desc_arg } ` as defined here
168167} { $suff_kind ->
169168 *[ should_not_happen ] [{ $suff_kind } ]
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ struct DescriptionCtx<'a> {
99 span : Option < Span > ,
1010 kind : & ' a str ,
1111 arg : String ,
12- num_arg : u32 ,
1312}
1413
1514impl < ' a > DescriptionCtx < ' a > {
@@ -113,7 +112,6 @@ impl<'a> DescriptionCtx<'a> {
113112 fn add_to ( self , diag : & mut rustc_errors:: Diagnostic ) {
114113 diag. set_arg ( "desc_kind" , self . kind ) ;
115114 diag. set_arg ( "desc_arg" , self . arg ) ;
116- diag. set_arg ( "desc_num_arg" , self . num_arg ) ;
117115 }
118116}
119117
You can’t perform that action at this time.
0 commit comments