File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -1361,6 +1361,7 @@ impl<'a> State<'a> {
1361
1361
if comma {
1362
1362
try!( self . word_space ( "," ) )
1363
1363
}
1364
+ try!( self . print_outer_attributes_inline ( & lifetime_def. attrs ) ) ;
1364
1365
try!( self . print_lifetime_bounds ( & lifetime_def. lifetime , & lifetime_def. bounds ) ) ;
1365
1366
comma = true ;
1366
1367
}
@@ -2803,6 +2804,7 @@ impl<'a> State<'a> {
2803
2804
try!( self . commasep ( Inconsistent , & ints[ ..] , |s, & idx| {
2804
2805
if idx < generics. lifetimes . len ( ) {
2805
2806
let lifetime_def = & generics. lifetimes [ idx] ;
2807
+ try!( s. print_outer_attributes_inline ( & lifetime_def. attrs ) ) ;
2806
2808
s. print_lifetime_bounds ( & lifetime_def. lifetime , & lifetime_def. bounds )
2807
2809
} else {
2808
2810
let idx = idx - generics. lifetimes . len ( ) ;
@@ -2816,6 +2818,7 @@ impl<'a> State<'a> {
2816
2818
}
2817
2819
2818
2820
pub fn print_ty_param ( & mut self , param : & ast:: TyParam ) -> io:: Result < ( ) > {
2821
+ try!( self . print_outer_attributes_inline ( & param. attrs ) ) ;
2819
2822
try!( self . print_ident ( param. ident ) ) ;
2820
2823
try!( self . print_bounds ( ":" , & param. bounds ) ) ;
2821
2824
match param. default {
You can’t perform that action at this time.
0 commit comments