Skip to content

Commit b3445d7

Browse files
authored
Work around proc macro hygiene change
rust-lang/rust#46489
1 parent bd94eee commit b3445d7

File tree

1 file changed

+1
-0
lines changed
  • collector/benchmarks/script-servo/components/dom_struct

1 file changed

+1
-0
lines changed

collector/benchmarks/script-servo/components/dom_struct/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,6 @@ pub fn dom_struct(args: TokenStream, input: TokenStream) -> TokenStream {
1919
#[must_root]
2020
#[repr(C)]
2121
};
22+
let attributes = attributes.to_string().parse().unwrap();
2223
iter::once(attributes).chain(iter::once(input)).collect()
2324
}

0 commit comments

Comments
 (0)