Home
last modified time | relevance | path

Searched refs:spanned (Results 1 - 19 of 19) sorted by relevance

/third_party/rust/crates/clap/clap_derive/src/utils/
H A Dmod.rs4 mod spanned; modules
11 spanned::Sp,
H A Dty.rs3 use super::spanned::Sp;
6 spanned::Spanned, GenericArgument, Path, PathArguments, PathArguments::AngleBracketed,
/third_party/rust/crates/proc-macro-error/test-crate/
H A Dlib.rs11 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 Dspanned.rs29 //! use syn::spanned::Spanned;
83 use quote::spanned::Spanned as ToTokens;
H A Dlib.rs495 pub mod spanned; modules
H A Dpath.rs669 use crate::spanned::Spanned;
/third_party/rust/crates/proc-macro-error/src/
H A Ddiagnostic.rs37 /// 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 Dlib.rs3 use syn::spanned::Spanned;
/third_party/rust/crates/proc-macro-error/src/imp/
H A Ddelegate.rs44 let mut res = PDiag::spanned(span, level, msg);
/third_party/rust/crates/clap/clap_derive/src/derives/
H A Dvalue_enum.rs14 use syn::{spanned::Spanned, Data, DeriveInput, Fields, Ident, Variant};
H A Dsubcommand.rs17 use syn::{spanned::Spanned, Data, DeriveInput, FieldsUnnamed, Generics, Variant};
H A Dargs.rs19 punctuated::Punctuated, spanned::Spanned, token::Comma, Data, DataStruct, DeriveInput, Field,
/third_party/rust/crates/syn/examples/lazy-static/lazy-static/src/
H A Dlib.rs6 use syn::spanned::Spanned;
/third_party/rust/crates/clap/clap_derive/src/
H A Dattr.rs6 use syn::spanned::Spanned;
H A Ditem.rs21 use syn::{self, ext::IdentExt, spanned::Spanned, Attribute, Field, Ident, LitStr, Type, Variant};
/third_party/rust/crates/quote/src/
H A Dlib.rs126 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 Dser.rs7 use syn::spanned::Spanned;
H A Dde.rs10 use syn::spanned::Spanned;
/third_party/rust/crates/cxx/macro/src/
H A Dexpand.rs1808 let rust_str = Ident::new("RustStr", syn::spanned::Spanned::span(&ty.inner)); in expand_extern_type()

Completed in 17 milliseconds