/third_party/rust/crates/clap/clap_derive/src/utils/ |
H A D | mod.rs | 4 mod spanned; modules 11 spanned::Sp,
|
H A D | ty.rs | 3 use super::spanned::Sp; 6 spanned::Spanned, GenericArgument, Path, PathArguments, PathArguments::AngleBracketed,
|
/third_party/rust/crates/proc-macro-error/test-crate/ |
H A D | lib.rs | 11 use syn::{parse_macro_input, spanned::Spanned}; 49 Diagnostic::spanned(span.into(), Level::Error, "Diagnostic::abort() test".into()).abort() in direct_abort() 66 Diagnostic::spanned( in emit() 107 note = span2 => "spanned simple note"; in abort_notes() 108 note = span2 => "spanned format {}", "note"; in abort_notes() 137 note = span2 => "spanned simple note"; in emit_notes() 138 note = span2 => "spanned format {}", "note"; in emit_notes() 158 let err = Diagnostic::spanned( in result_unwrap_or_abort() 172 let err = Diagnostic::spanned( in result_expect_or_abort()
|
/third_party/rust/crates/syn/src/ |
H A D | spanned.rs | 29 //! use syn::spanned::Spanned; 83 use quote::spanned::Spanned as ToTokens;
|
H A D | lib.rs | 495 pub mod spanned; modules
|
H A D | path.rs | 669 use crate::spanned::Spanned;
|
/third_party/rust/crates/proc-macro-error/src/ |
H A D | diagnostic.rs | 37 /// This function is the same as `Diagnostic::spanned` but produces considerably 101 Diagnostic::spanned(Span::call_site(), level, message) in new() 105 pub fn spanned(span: Span, level: Level, message: String) -> Self { in spanned() functions
|
/third_party/rust/crates/syn/examples/heapsize/heapsize_derive/src/ |
H A D | lib.rs | 3 use syn::spanned::Spanned;
|
/third_party/rust/crates/proc-macro-error/src/imp/ |
H A D | delegate.rs | 44 let mut res = PDiag::spanned(span, level, msg);
|
/third_party/rust/crates/clap/clap_derive/src/derives/ |
H A D | value_enum.rs | 14 use syn::{spanned::Spanned, Data, DeriveInput, Fields, Ident, Variant};
|
H A D | subcommand.rs | 17 use syn::{spanned::Spanned, Data, DeriveInput, FieldsUnnamed, Generics, Variant};
|
H A D | args.rs | 19 punctuated::Punctuated, spanned::Spanned, token::Comma, Data, DataStruct, DeriveInput, Field,
|
/third_party/rust/crates/syn/examples/lazy-static/lazy-static/src/ |
H A D | lib.rs | 6 use syn::spanned::Spanned;
|
/third_party/rust/crates/clap/clap_derive/src/ |
H A D | attr.rs | 6 use syn::spanned::Spanned;
|
H A D | item.rs | 21 use syn::{self, ext::IdentExt, spanned::Spanned, Attribute, Field, Ident, LitStr, Type, Variant};
|
/third_party/rust/crates/quote/src/ |
H A D | lib.rs | 126 pub mod spanned; modules 169 /// invocation are spanned with [`Span::call_site()`]. 569 /// invocation are spanned with the given span argument. 617 /// In this example it is important for the where-clause to be spanned with the
|
/third_party/rust/crates/serde/serde_derive/src/ |
H A D | ser.rs | 7 use syn::spanned::Spanned;
|
H A D | de.rs | 10 use syn::spanned::Spanned;
|
/third_party/rust/crates/cxx/macro/src/ |
H A D | expand.rs | 1808 let rust_str = Ident::new("RustStr", syn::spanned::Spanned::span(&ty.inner)); in expand_extern_type()
|