mirror of
https://github.com/servo/servo.git
synced 2025-08-09 07:25:35 +01:00
Upgrade remaining components to edition 2018
This commit is contained in:
parent
fd79367491
commit
9c2cc05a8e
48 changed files with 102 additions and 160 deletions
|
@ -3,10 +3,14 @@
|
|||
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
||||
|
||||
use darling::util::PathList;
|
||||
use darling::FromDeriveInput;
|
||||
use darling::FromField;
|
||||
use darling::FromVariant;
|
||||
use derive_common::cg;
|
||||
use proc_macro2::TokenStream;
|
||||
use quote::quote;
|
||||
use quote::TokenStreamExt;
|
||||
use syn::{DeriveInput, WhereClause};
|
||||
use syn::{parse_quote, DeriveInput, WhereClause};
|
||||
use synstructure::{Structure, VariantInfo};
|
||||
|
||||
pub fn derive(mut input: DeriveInput) -> TokenStream {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue