File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 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> {
809809 }
810810 }
811811
812- fn lower_attrs ( & mut self , attrs : & Vec < Attribute > ) -> hir:: HirVec < Attribute > {
812+ fn lower_attrs ( & mut self , attrs : & [ Attribute ] ) -> hir:: HirVec < Attribute > {
813813 attrs. iter ( ) . map ( |a| self . lower_attr ( a) ) . collect :: < Vec < _ > > ( ) . into ( )
814814 }
815815
@@ -1019,6 +1019,7 @@ impl<'a> LoweringContext<'a> {
10191019 span,
10201020 pure_wrt_drop : false ,
10211021 synthetic : Some ( hir:: SyntheticTyParamKind :: ImplTrait ) ,
1022+ attrs : P :: new ( ) ,
10221023 } ) ;
10231024
10241025 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 {
203203 default ,
204204 span,
205205 pure_wrt_drop,
206- synthetic
206+ synthetic,
207+ attrs
207208} ) ;
208209
209210impl_stable_hash_for ! ( enum hir:: GenericParam {
You can’t perform that action at this time.
0 commit comments