Skip to content

Instantly share code, notes, and snippets.

@Eijebong
Created January 8, 2018 17:15
Show Gist options
  • Save Eijebong/81e22d8eddbbf0b0152a18aed65b713c to your computer and use it in GitHub Desktop.
Save Eijebong/81e22d8eddbbf0b0152a18aed65b713c to your computer and use it in GitHub Desktop.
error[E0275]: overflow evaluating the requirement `syn::Ident: std::marker::Sync`
--> core/src/options/input_field.rs:7:1
|
7 | / lazy_static! {
8 | | /// The default path for extracting data from a meta item. This can be overridden
9 | | /// using the `with` attribute.
10 | | static ref FROM_META_ITEM: syn::Path = {
11 | | path!(::darling::FromMetaItem::from_meta_item)
12 | | };
13 | | }
| |_^
|
= help: consider adding a `#![recursion_limit="512"]` attribute to your crate
= note: required because it appears within the type `syn::PatIdent`
= note: required because it appears within the type `syn::Pat`
= note: required because of the requirements on the impl of `std::marker::Sync` for `std::ptr::Unique<syn::Pat>`
= note: required because it appears within the type `std::boxed::Box<syn::Pat>`
= note: required because it appears within the type `syn::Local`
= note: required because it appears within the type `syn::Stmt`
= note: required because of the requirements on the impl of `std::marker::Sync` for `std::ptr::Unique<syn::Stmt>`
= note: required because it appears within the type `alloc::raw_vec::RawVec<syn::Stmt>`
= note: required because it appears within the type `std::vec::Vec<syn::Stmt>`
= note: required because it appears within the type `syn::Block`
= note: required because it appears within the type `syn::ExprIf`
= note: required because it appears within the type `syn::Expr`
= note: required because it appears within the type `(syn::token::Eq, syn::Expr)`
= note: required because it appears within the type `std::option::Option<(syn::token::Eq, syn::Expr)>`
= note: required because it appears within the type `syn::Variant`
= note: required because it appears within the type `(syn::Variant, std::option::Option<syn::token::Comma>)`
= note: required because of the requirements on the impl of `std::marker::Sync` for `std::ptr::Unique<(syn::Variant, std::option::Option<syn::token::Comma>)>`
= note: required because it appears within the type `alloc::raw_vec::RawVec<(syn::Variant, std::option::Option<syn::token::Comma>)>`
= note: required because it appears within the type `std::vec::Vec<(syn::Variant, std::option::Option<syn::token::Comma>)>`
= note: required because it appears within the type `syn::punctuated::Punctuated<syn::Variant, syn::token::Comma>`
= note: required because it appears within the type `syn::ItemEnum`
= note: required because it appears within the type `syn::Item`
= note: required because of the requirements on the impl of `std::marker::Sync` for `std::ptr::Unique<syn::Item>`
= note: required because it appears within the type `alloc::raw_vec::RawVec<syn::Item>`
= note: required because it appears within the type `std::vec::Vec<syn::Item>`
= note: required because it appears within the type `(syn::token::Brace, std::vec::Vec<syn::Item>)`
= note: required because it appears within the type `std::option::Option<(syn::token::Brace, std::vec::Vec<syn::Item>)>`
= note: required because it appears within the type `syn::ItemMod`
= note: required because it appears within the type `syn::Item`
= note: required because it appears within the type `syn::Stmt`
= note: required because of the requirements on the impl of `std::marker::Sync` for `std::ptr::Unique<syn::Stmt>`
= note: required because it appears within the type `alloc::raw_vec::RawVec<syn::Stmt>`
= note: required because it appears within the type `std::vec::Vec<syn::Stmt>`
= note: required because it appears within the type `syn::Block`
= note: required because it appears within the type `syn::ExprIf`
= note: required because it appears within the type `syn::Expr`
= note: required because it appears within the type `(syn::token::Eq, syn::Expr)`
= note: required because it appears within the type `std::option::Option<(syn::token::Eq, syn::Expr)>`
= note: required because it appears within the type `syn::Variant`
= note: required because it appears within the type `(syn::Variant, std::option::Option<syn::token::Comma>)`
= note: required because of the requirements on the impl of `std::marker::Sync` for `std::ptr::Unique<(syn::Variant, std::option::Option<syn::token::Comma>)>`
= note: required because it appears within the type `alloc::raw_vec::RawVec<(syn::Variant, std::option::Option<syn::token::Comma>)>`
= note: required because it appears within the type `std::vec::Vec<(syn::Variant, std::option::Option<syn::token::Comma>)>`
= note: required because it appears within the type `syn::punctuated::Punctuated<syn::Variant, syn::token::Comma>`
= note: required because it appears within the type `syn::ItemEnum`
= note: required because it appears within the type `syn::Item`
= note: required because of the requirements on the impl of `std::marker::Sync` for `std::ptr::Unique<syn::Item>`
= note: required because it appears within the type `alloc::raw_vec::RawVec<syn::Item>`
= note: required because it appears within the type `std::vec::Vec<syn::Item>`
= note: required because it appears within the type `(syn::token::Brace, std::vec::Vec<syn::Item>)`
= note: required because it appears within the type `std::option::Option<(syn::token::Brace, std::vec::Vec<syn::Item>)>`
= note: required because it appears within the type `syn::ItemMod`
= note: required because it appears within the type `syn::Item`
= note: required because it appears within the type `syn::Stmt`
= note: required because of the requirements on the impl of `std::marker::Sync` for `std::ptr::Unique<syn::Stmt>`
= note: required because it appears within the type `alloc::raw_vec::RawVec<syn::Stmt>`
= note: required because it appears within the type `std::vec::Vec<syn::Stmt>`
= note: required because it appears within the type `syn::Block`
= note: required because it appears within the type `syn::ExprIf`
= note: required because it appears within the type `syn::Expr`
= note: required because it appears within the type `(syn::token::Eq, syn::Expr)`
= note: required because it appears within the type `std::option::Option<(syn::token::Eq, syn::Expr)>`
= note: required because it appears within the type `syn::Variant`
= note: required because it appears within the type `(syn::Variant, std::option::Option<syn::token::Comma>)`
= note: required because of the requirements on the impl of `std::marker::Sync` for `std::ptr::Unique<(syn::Variant, std::option::Option<syn::token::Comma>)>`
= note: required because it appears within the type `alloc::raw_vec::RawVec<(syn::Variant, std::option::Option<syn::token::Comma>)>`
= note: required because it appears within the type `std::vec::Vec<(syn::Variant, std::option::Option<syn::token::Comma>)>`
= note: required because it appears within the type `syn::punctuated::Punctuated<syn::Variant, syn::token::Comma>`
= note: required because it appears within the type `syn::ItemEnum`
= note: required because it appears within the type `syn::Item`
= note: required because of the requirements on the impl of `std::marker::Sync` for `std::ptr::Unique<syn::Item>`
= note: required because it appears within the type `alloc::raw_vec::RawVec<syn::Item>`
= note: required because it appears within the type `std::vec::Vec<syn::Item>`
= note: required because it appears within the type `(syn::token::Brace, std::vec::Vec<syn::Item>)`
= note: required because it appears within the type `std::option::Option<(syn::token::Brace, std::vec::Vec<syn::Item>)>`
= note: required because it appears within the type `syn::ItemMod`
= note: required because it appears within the type `syn::Item`
= note: required because it appears within the type `syn::Stmt`
= note: required because of the requirements on the impl of `std::marker::Sync` for `std::ptr::Unique<syn::Stmt>`
= note: required because it appears within the type `alloc::raw_vec::RawVec<syn::Stmt>`
= note: required because it appears within the type `std::vec::Vec<syn::Stmt>`
= note: required because it appears within the type `syn::Block`
= note: required because of the requirements on the impl of `std::marker::Sync` for `std::ptr::Unique<syn::Block>`
= note: required because it appears within the type `std::boxed::Box<syn::Block>`
= note: required because it appears within the type `syn::ItemFn`
= note: required because it appears within the type `syn::Item`
= note: required because it appears within the type `syn::Stmt`
= note: required because of the requirements on the impl of `std::marker::Sync` for `std::ptr::Unique<syn::Stmt>`
= note: required because it appears within the type `alloc::raw_vec::RawVec<syn::Stmt>`
= note: required because it appears within the type `std::vec::Vec<syn::Stmt>`
= note: required because it appears within the type `syn::Block`
= note: required because it appears within the type `std::option::Option<syn::Block>`
= note: required because it appears within the type `syn::TraitItemMethod`
= note: required because it appears within the type `syn::TraitItem`
= note: required because of the requirements on the impl of `std::marker::Sync` for `std::ptr::Unique<syn::TraitItem>`
= note: required because it appears within the type `alloc::raw_vec::RawVec<syn::TraitItem>`
= note: required because it appears within the type `std::vec::Vec<syn::TraitItem>`
= note: required because it appears within the type `syn::ItemTrait`
= note: required because it appears within the type `syn::Item`
= note: required because it appears within the type `syn::Stmt`
= note: required because of the requirements on the impl of `std::marker::Sync` for `std::ptr::Unique<syn::Stmt>`
= note: required because it appears within the type `alloc::raw_vec::RawVec<syn::Stmt>`
= note: required because it appears within the type `std::vec::Vec<syn::Stmt>`
= note: required because it appears within the type `syn::Block`
= note: required because it appears within the type `syn::ImplItemMethod`
= note: required because it appears within the type `syn::ImplItem`
= note: required because of the requirements on the impl of `std::marker::Sync` for `std::ptr::Unique<syn::ImplItem>`
= note: required because it appears within the type `alloc::raw_vec::RawVec<syn::ImplItem>`
= note: required because it appears within the type `std::vec::Vec<syn::ImplItem>`
= note: required because it appears within the type `syn::ItemImpl`
= note: required because it appears within the type `syn::Item`
= note: required because it appears within the type `syn::Stmt`
= note: required because of the requirements on the impl of `std::marker::Sync` for `std::ptr::Unique<syn::Stmt>`
= note: required because it appears within the type `alloc::raw_vec::RawVec<syn::Stmt>`
= note: required because it appears within the type `std::vec::Vec<syn::Stmt>`
= note: required because it appears within the type `syn::Block`
= note: required because of the requirements on the impl of `std::marker::Sync` for `std::ptr::Unique<syn::Block>`
= note: required because it appears within the type `std::boxed::Box<syn::Block>`
= note: required because it appears within the type `syn::ItemFn`
= note: required because it appears within the type `syn::Item`
= note: required because it appears within the type `syn::Stmt`
= note: required because of the requirements on the impl of `std::marker::Sync` for `std::ptr::Unique<syn::Stmt>`
= note: required because it appears within the type `alloc::raw_vec::RawVec<syn::Stmt>`
= note: required because it appears within the type `std::vec::Vec<syn::Stmt>`
= note: required because it appears within the type `syn::Block`
= note: required because it appears within the type `syn::ExprIf`
= note: required because it appears within the type `syn::Expr`
= note: required because it appears within the type `syn::FieldValue`
= note: required because it appears within the type `(syn::FieldValue, std::option::Option<syn::token::Comma>)`
= note: required because of the requirements on the impl of `std::marker::Sync` for `std::ptr::Unique<(syn::FieldValue, std::option::Option<syn::token::Comma>)>`
= note: required because it appears within the type `alloc::raw_vec::RawVec<(syn::FieldValue, std::option::Option<syn::token::Comma>)>`
= note: required because it appears within the type `std::vec::Vec<(syn::FieldValue, std::option::Option<syn::token::Comma>)>`
= note: required because it appears within the type `syn::punctuated::Punctuated<syn::FieldValue, syn::token::Comma>`
= note: required because it appears within the type `syn::ExprStruct`
= note: required because it appears within the type `syn::Expr`
= note: required because it appears within the type `syn::ImplItemConst`
= note: required because it appears within the type `syn::ImplItem`
= note: required because of the requirements on the impl of `std::marker::Sync` for `std::ptr::Unique<syn::ImplItem>`
= note: required because it appears within the type `alloc::raw_vec::RawVec<syn::ImplItem>`
= note: required because it appears within the type `std::vec::Vec<syn::ImplItem>`
= note: required because it appears within the type `syn::ItemImpl`
= note: required because it appears within the type `syn::Item`
= note: required because it appears within the type `syn::Stmt`
= note: required because of the requirements on the impl of `std::marker::Sync` for `std::ptr::Unique<syn::Stmt>`
= note: required because it appears within the type `alloc::raw_vec::RawVec<syn::Stmt>`
= note: required because it appears within the type `std::vec::Vec<syn::Stmt>`
= note: required because it appears within the type `syn::Block`
= note: required because it appears within the type `syn::ExprIf`
= note: required because it appears within the type `syn::Expr`
= note: required because it appears within the type `(syn::Expr, std::option::Option<syn::token::Comma>)`
= note: required because of the requirements on the impl of `std::marker::Sync` for `std::ptr::Unique<(syn::Expr, std::option::Option<syn::token::Comma>)>`
= note: required because it appears within the type `alloc::raw_vec::RawVec<(syn::Expr, std::option::Option<syn::token::Comma>)>`
= note: required because it appears within the type `std::vec::Vec<(syn::Expr, std::option::Option<syn::token::Comma>)>`
= note: required because it appears within the type `syn::punctuated::Punctuated<syn::Expr, syn::token::Comma>`
= note: required because it appears within the type `syn::ExprArray`
= note: required because it appears within the type `syn::Expr`
= note: required because it appears within the type `syn::ImplItemConst`
= note: required because it appears within the type `syn::ImplItem`
= note: required because of the requirements on the impl of `std::marker::Sync` for `std::ptr::Unique<syn::ImplItem>`
= note: required because it appears within the type `alloc::raw_vec::RawVec<syn::ImplItem>`
= note: required because it appears within the type `std::vec::Vec<syn::ImplItem>`
= note: required because it appears within the type `syn::ItemImpl`
= note: required because it appears within the type `syn::Item`
= note: required because it appears within the type `syn::Stmt`
= note: required because of the requirements on the impl of `std::marker::Sync` for `std::ptr::Unique<syn::Stmt>`
= note: required because it appears within the type `alloc::raw_vec::RawVec<syn::Stmt>`
= note: required because it appears within the type `std::vec::Vec<syn::Stmt>`
= note: required because it appears within the type `syn::Block`
= note: required because it appears within the type `std::option::Option<syn::Block>`
= note: required because it appears within the type `syn::TraitItemMethod`
= note: required because it appears within the type `syn::TraitItem`
= note: required because of the requirements on the impl of `std::marker::Sync` for `std::ptr::Unique<syn::TraitItem>`
= note: required because it appears within the type `alloc::raw_vec::RawVec<syn::TraitItem>`
= note: required because it appears within the type `std::vec::Vec<syn::TraitItem>`
= note: required because it appears within the type `syn::ItemTrait`
= note: required because it appears within the type `syn::Item`
= note: required because it appears within the type `syn::Stmt`
= note: required because of the requirements on the impl of `std::marker::Sync` for `std::ptr::Unique<syn::Stmt>`
= note: required because it appears within the type `alloc::raw_vec::RawVec<syn::Stmt>`
= note: required because it appears within the type `std::vec::Vec<syn::Stmt>`
= note: required because it appears within the type `syn::Block`
= note: required because it appears within the type `syn::ExprIf`
= note: required because it appears within the type `syn::Expr`
= note: required because it appears within the type `syn::FieldValue`
= note: required because it appears within the type `(syn::FieldValue, std::option::Option<syn::token::Comma>)`
= note: required because of the requirements on the impl of `std::marker::Sync` for `std::ptr::Unique<(syn::FieldValue, std::option::Option<syn::token::Comma>)>`
= note: required because it appears within the type `alloc::raw_vec::RawVec<(syn::FieldValue, std::option::Option<syn::token::Comma>)>`
= note: required because it appears within the type `std::vec::Vec<(syn::FieldValue, std::option::Option<syn::token::Comma>)>`
= note: required because it appears within the type `syn::punctuated::Punctuated<syn::FieldValue, syn::token::Comma>`
= note: required because it appears within the type `syn::ExprStruct`
= note: required because it appears within the type `syn::Expr`
= note: required because it appears within the type `syn::Stmt`
= note: required because of the requirements on the impl of `std::marker::Sync` for `std::ptr::Unique<syn::Stmt>`
= note: required because it appears within the type `alloc::raw_vec::RawVec<syn::Stmt>`
= note: required because it appears within the type `std::vec::Vec<syn::Stmt>`
= note: required because it appears within the type `syn::Block`
= note: required because it appears within the type `syn::ImplItemMethod`
= note: required because it appears within the type `syn::ImplItem`
= note: required because of the requirements on the impl of `std::marker::Sync` for `std::ptr::Unique<syn::ImplItem>`
= note: required because it appears within the type `alloc::raw_vec::RawVec<syn::ImplItem>`
= note: required because it appears within the type `std::vec::Vec<syn::ImplItem>`
= note: required because it appears within the type `syn::ItemImpl`
= note: required because it appears within the type `syn::Item`
= note: required because of the requirements on the impl of `std::marker::Sync` for `std::ptr::Unique<syn::Item>`
= note: required because it appears within the type `alloc::raw_vec::RawVec<syn::Item>`
= note: required because it appears within the type `std::vec::Vec<syn::Item>`
= note: required because it appears within the type `(syn::token::Brace, std::vec::Vec<syn::Item>)`
= note: required because it appears within the type `std::option::Option<(syn::token::Brace, std::vec::Vec<syn::Item>)>`
= note: required because it appears within the type `syn::ItemMod`
= note: required because it appears within the type `syn::Item`
= note: required because it appears within the type `syn::Stmt`
= note: required because of the requirements on the impl of `std::marker::Sync` for `std::ptr::Unique<syn::Stmt>`
= note: required because it appears within the type `alloc::raw_vec::RawVec<syn::Stmt>`
= note: required because it appears within the type `std::vec::Vec<syn::Stmt>`
= note: required because it appears within the type `syn::Block`
= note: required because it appears within the type `syn::ImplItemMethod`
= note: required because it appears within the type `syn::ImplItem`
= note: required because of the requirements on the impl of `std::marker::Sync` for `std::ptr::Unique<syn::ImplItem>`
= note: required because it appears within the type `alloc::raw_vec::RawVec<syn::ImplItem>`
= note: required because it appears within the type `std::vec::Vec<syn::ImplItem>`
= note: required because it appears within the type `syn::ItemImpl`
= note: required because it appears within the type `syn::Item`
= note: required because it appears within the type `syn::Stmt`
= note: required because of the requirements on the impl of `std::marker::Sync` for `std::ptr::Unique<syn::Stmt>`
= note: required because it appears within the type `alloc::raw_vec::RawVec<syn::Stmt>`
= note: required because it appears within the type `std::vec::Vec<syn::Stmt>`
= note: required because it appears within the type `syn::Block`
= note: required because it appears within the type `syn::ImplItemMethod`
= note: required because it appears within the type `syn::ImplItem`
= note: required because of the requirements on the impl of `std::marker::Sync` for `std::ptr::Unique<syn::ImplItem>`
= note: required because it appears within the type `alloc::raw_vec::RawVec<syn::ImplItem>`
= note: required because it appears within the type `std::vec::Vec<syn::ImplItem>`
= note: required because it appears within the type `syn::ItemImpl`
= note: required because it appears within the type `syn::Item`
= note: required because it appears within the type `syn::Stmt`
= note: required because of the requirements on the impl of `std::marker::Sync` for `std::ptr::Unique<syn::Stmt>`
= note: required because it appears within the type `alloc::raw_vec::RawVec<syn::Stmt>`
= note: required because it appears within the type `std::vec::Vec<syn::Stmt>`
= note: required because it appears within the type `syn::Block`
= note: required because it appears within the type `syn::ExprIf`
= note: required because it appears within the type `syn::Expr`
= note: required because it appears within the type `syn::GenericArgument`
= note: required because it appears within the type `(syn::GenericArgument, std::option::Option<syn::token::Comma>)`
= note: required because of the requirements on the impl of `std::marker::Sync` for `std::ptr::Unique<(syn::GenericArgument, std::option::Option<syn::token::Comma>)>`
= note: required because it appears within the type `alloc::raw_vec::RawVec<(syn::GenericArgument, std::option::Option<syn::token::Comma>)>`
= note: required because it appears within the type `std::vec::Vec<(syn::GenericArgument, std::option::Option<syn::token::Comma>)>`
= note: required because it appears within the type `syn::punctuated::Punctuated<syn::GenericArgument, syn::token::Comma>`
= note: required because it appears within the type `syn::AngleBracketedGenericArguments`
= note: required because it appears within the type `syn::PathArguments`
= note: required because it appears within the type `syn::PathSegment`
= note: required because it appears within the type `(syn::PathSegment, std::option::Option<syn::token::Colon2>)`
= note: required because of the requirements on the impl of `std::marker::Sync` for `std::ptr::Unique<(syn::PathSegment, std::option::Option<syn::token::Colon2>)>`
= note: required because it appears within the type `alloc::raw_vec::RawVec<(syn::PathSegment, std::option::Option<syn::token::Colon2>)>`
= note: required because it appears within the type `std::vec::Vec<(syn::PathSegment, std::option::Option<syn::token::Colon2>)>`
= note: required because it appears within the type `syn::punctuated::Punctuated<syn::PathSegment, syn::token::Colon2>`
= note: required because it appears within the type `syn::Path`
= note: required by `lazy_static::lazy::Lazy`
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment