We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9ce4e3c + 9814d51 commit d84eb95Copy full SHA for d84eb95
gc_derive/Cargo.toml
@@ -18,4 +18,4 @@ proc-macro = true
18
syn = "1.0"
19
proc-macro2 = "1.0"
20
quote = "1.0"
21
-synstructure = "0.12"
+synstructure = "0.13"
gc_derive/src/lib.rs
@@ -8,7 +8,7 @@ fn derive_trace(mut s: Structure<'_>) -> proc_macro2::TokenStream {
8
!bi.ast()
9
.attrs
10
.iter()
11
- .any(|attr| attr.path.is_ident("unsafe_ignore_trace"))
+ .any(|attr| attr.path().is_ident("unsafe_ignore_trace"))
12
});
13
let trace_body = s.each(|bi| quote!(mark(#bi)));
14
0 commit comments