File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -809,7 +809,7 @@ impl<'a> LoweringContext<'a> {
809
809
}
810
810
}
811
811
812
- fn lower_attrs ( & mut self , attrs : & Vec < Attribute > ) -> hir:: HirVec < Attribute > {
812
+ fn lower_attrs ( & mut self , attrs : & [ Attribute ] ) -> hir:: HirVec < Attribute > {
813
813
attrs. iter ( ) . map ( |a| self . lower_attr ( a) ) . collect :: < Vec < _ > > ( ) . into ( )
814
814
}
815
815
@@ -1019,6 +1019,7 @@ impl<'a> LoweringContext<'a> {
1019
1019
span,
1020
1020
pure_wrt_drop : false ,
1021
1021
synthetic : Some ( hir:: SyntheticTyParamKind :: ImplTrait ) ,
1022
+ attrs : P :: new ( ) ,
1022
1023
} ) ;
1023
1024
1024
1025
hir:: TyPath ( hir:: QPath :: Resolved ( None , P ( hir:: Path {
Original file line number Diff line number Diff line change @@ -203,7 +203,8 @@ impl_stable_hash_for!(struct hir::TyParam {
203
203
default ,
204
204
span,
205
205
pure_wrt_drop,
206
- synthetic
206
+ synthetic,
207
+ attrs
207
208
} ) ;
208
209
209
210
impl_stable_hash_for ! ( enum hir:: GenericParam {
You can’t perform that action at this time.
0 commit comments