Skip to content

Commit d84eb95

Browse files
authored
Merge pull request #175 from TheBB/fix-impl
Fix non-local impl warning
2 parents 9ce4e3c + 9814d51 commit d84eb95

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

gc_derive/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ proc-macro = true
1818
syn = "1.0"
1919
proc-macro2 = "1.0"
2020
quote = "1.0"
21-
synstructure = "0.12"
21+
synstructure = "0.13"

gc_derive/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ fn derive_trace(mut s: Structure<'_>) -> proc_macro2::TokenStream {
88
!bi.ast()
99
.attrs
1010
.iter()
11-
.any(|attr| attr.path.is_ident("unsafe_ignore_trace"))
11+
.any(|attr| attr.path().is_ident("unsafe_ignore_trace"))
1212
});
1313
let trace_body = s.each(|bi| quote!(mark(#bi)));
1414

0 commit comments

Comments
 (0)