Home
last modified time | relevance | path

Searched refs:to_compile_error (Results 1 – 19 of 19) sorted by relevance

/external/rust/crates/syn/src/
Derror.rs193 pub fn to_compile_error(&self) -> TokenStream { in to_compile_error() method
196 .map(ErrorMessage::to_compile_error) in to_compile_error()
233 self.to_compile_error() in into_compile_error()
244 fn to_compile_error(&self) -> TokenStream { in to_compile_error() method
Dparse_macro_input.rs113 return $crate::__private::TokenStream::from(err.to_compile_error());
121 return $crate::__private::TokenStream::from(err.to_compile_error());
/external/rust/crates/tokio-macros/src/
Dlib.rs304 .to_compile_error() in main_fail()
318 .to_compile_error() in test_fail()
Dentry.rs317 .to_compile_error() in main()
321 parse_knobs(input, args, false, rt_multi_thread).unwrap_or_else(|e| e.to_compile_error().into()) in main()
332 .to_compile_error() in test()
340 .to_compile_error() in test()
344 parse_knobs(input, args, true, rt_multi_thread).unwrap_or_else(|e| e.to_compile_error().into()) in test()
/external/rust/cxx/macro/src/
Dlib.rs70 Err(err) => return err.to_compile_error().into(), in bridge()
76 .unwrap_or_else(|err| err.to_compile_error()) in bridge()
/external/rust/crates/async-stream-impl/src/
Dlib.rs87 *i = syn::parse2(e.to_compile_error()).unwrap(); in visit_expr_mut()
149 Err(e) => return e.to_compile_error().into(), in stream()
214 Err(e) => return e.to_compile_error().into(), in try_stream()
/external/adhd/cros_alsa/cros_alsa_derive/src/
Dlib.rs24 Err(e) => e.to_compile_error().into(), in control_ops_derive()
Dcontrol.rs21 Err(e) => return e.to_compile_error().into(), in impl_control_ops()
/external/rust/crates/thiserror-impl/src/
Dlib.rs28 .unwrap_or_else(|err| err.to_compile_error()) in derive_error()
/external/rust/crates/remain/src/
Demit.rs21 let err = err.to_compile_error(); in emit()
Dvisit.rs72 let err = err.to_compile_error(); in check_and_insert_error()
/external/rust/crates/paste/src/
Derror.rs25 pub fn to_compile_error(&self) -> TokenStream { in to_compile_error() method
Dlib.rs166 Err(err) => err.to_compile_error(), in paste()
/external/rust/crates/serde_derive/src/
Dlib.rs97 let compile_errors = errors.iter().map(syn::Error::to_compile_error); in to_compile_errors()
/external/crosvm/enumn/src/
Dlib.rs126 return err.to_compile_error(); in testable_derive()
/external/rust/crates/pin-project-internal/src/
Dpinned_drop.rs20 let mut tokens = e.to_compile_error(); in attribute()
/external/rust/crates/proc-macro-error/src/
Ddiagnostic.rs338 let mut ts = err.to_compile_error().into_iter(); in from()
/external/crosvm/bit_field/bit_field_derive/
Dbit_field_derive.rs26 let compile_error = err.to_compile_error(); in bitfield()
/external/rust/crates/num-derive/src/
Dlib.rs87 return TokenStream::from(error.to_compile_error());