File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/libsyntax_ext/deriving/generic Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -553,7 +553,7 @@ impl<'a> TraitDef<'a> {
553
553
554
554
let mut processed_field_types = HashSet :: new ( ) ;
555
555
for field_ty in field_tys {
556
- let tys = find_type_parameters ( & * field_ty, & ty_param_names) ;
556
+ let tys = find_type_parameters ( & field_ty, & ty_param_names) ;
557
557
558
558
for ty in tys {
559
559
// if we have already handled this type, skip it
@@ -617,7 +617,7 @@ impl<'a> TraitDef<'a> {
617
617
// Just mark it now since we know that it'll end up used downstream
618
618
attr:: mark_used ( & attr) ;
619
619
let opt_trait_ref = Some ( trait_ref) ;
620
- let ident = ast_util:: impl_pretty_name ( & opt_trait_ref, Some ( & * self_type) ) ;
620
+ let ident = ast_util:: impl_pretty_name ( & opt_trait_ref, Some ( & self_type) ) ;
621
621
let unused_qual = cx. attribute (
622
622
self . span ,
623
623
cx. meta_list ( self . span ,
You can’t perform that action at this time.
0 commit comments