File tree 3 files changed +7
-6
lines changed
3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 1
- target
1
+ target
2
+ Cargo.lock
Original file line number Diff line number Diff line change @@ -3,6 +3,6 @@ name = "copypasteck"
3
3
version = " 0.1.0"
4
4
authors = [ " Huon Wilson <dbau.pp@gmail.com>" ]
5
5
6
- [[ lib ] ]
6
+ [lib ]
7
7
name = " copypasteck"
8
8
plugin = true
Original file line number Diff line number Diff line change @@ -300,8 +300,8 @@ impl<'a> Visitor<E> for StrictVersionHashVisitor<'a> {
300
300
SawLifetimeRef ( content ( l. name ) ) . hash ( self . st ) ;
301
301
}
302
302
303
- fn visit_lifetime_decl ( & mut self , l : & Lifetime , _: E ) {
304
- SawLifetimeDecl ( content ( l. name ) ) . hash ( self . st ) ;
303
+ fn visit_lifetime_decl ( & mut self , l : & LifetimeDef , _: E ) {
304
+ SawLifetimeDecl ( content ( l. lifetime . name ) ) . hash ( self . st ) ;
305
305
}
306
306
307
307
// We do recursively walk the bodies of functions/methods
@@ -370,8 +370,8 @@ impl<'a> Visitor<E> for StrictVersionHashVisitor<'a> {
370
370
SawTyMethod . hash ( self . st ) ; visit:: walk_ty_method ( self , t, e)
371
371
}
372
372
373
- fn visit_trait_method ( & mut self , t : & TraitMethod , e : E ) {
374
- SawTraitMethod . hash ( self . st ) ; visit:: walk_trait_method ( self , t, e)
373
+ fn visit_trait_item ( & mut self , t : & TraitItem , e : E ) {
374
+ SawTraitMethod . hash ( self . st ) ; visit:: walk_trait_item ( self , t, e)
375
375
}
376
376
377
377
fn visit_struct_field ( & mut self , s : & StructField , e : E ) {
You can’t perform that action at this time.
0 commit comments