Home
last modified time | relevance | path

Searched refs:default_span (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/async-trait/src/
Dexpand.rs162 let default_span = sig.asyncness.take().unwrap().span; in transform_sig() localVariable
163 sig.fn_token.span = default_span; in transform_sig()
166 ReturnType::Default => (Token![->](default_span), quote_spanned!(default_span=> ())), in transform_sig()
230 .push(parse_quote_spanned!(default_span=> 'async_trait)); in transform_sig()
283 Some(bound.spanned_path(default_span)) in transform_sig()
289 .push(parse_quote_spanned! {default_span=> in transform_sig()
321 quote_spanned!(default_span=> 'async_trait) in transform_sig()
323 quote_spanned!(default_span=> ::core::marker::Send + 'async_trait) in transform_sig()
325 sig.output = parse_quote_spanned! {default_span=> in transform_sig()
/external/rust/crates/derive_arbitrary/src/
Dfield_attributes.rs100 default_span: Span, in parse_assigned_value()
106 syn::Error::new(default_span, msg) in parse_assigned_value()
/external/rust/crates/proc-macro2/tests/
Dtest.rs356 fn default_span() { in default_span() function