mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Upgrade to rustc 1.24.0-nightly (5a2465e2b 2017-12-06)
This commit is contained in:
parent
e646471888
commit
1a950d263a
3 changed files with 8 additions and 1 deletions
|
@ -19,5 +19,9 @@ pub fn dom_struct(args: TokenStream, input: TokenStream) -> TokenStream {
|
|||
#[must_root]
|
||||
#[repr(C)]
|
||||
};
|
||||
|
||||
// Work around https://github.com/rust-lang/rust/issues/46489
|
||||
let attributes = attributes.to_string().parse().unwrap();
|
||||
|
||||
iter::once(attributes).chain(iter::once(input)).collect()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue