Skip to content

Commit

Permalink
Merge pull request #175 from TheBB/fix-impl
Browse files Browse the repository at this point in the history
Fix non-local impl warning
  • Loading branch information
Manishearth authored Jun 11, 2024
2 parents 9ce4e3c + 9814d51 commit d84eb95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gc_derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ proc-macro = true
syn = "1.0"
proc-macro2 = "1.0"
quote = "1.0"
synstructure = "0.12"
synstructure = "0.13"
2 changes: 1 addition & 1 deletion gc_derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ fn derive_trace(mut s: Structure<'_>) -> proc_macro2::TokenStream {
!bi.ast()
.attrs
.iter()
.any(|attr| attr.path.is_ident("unsafe_ignore_trace"))
.any(|attr| attr.path().is_ident("unsafe_ignore_trace"))
});
let trace_body = s.each(|bi| quote!(mark(#bi)));

Expand Down

0 comments on commit d84eb95

Please sign in to comment.