Home
last modified time | relevance | path

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

123

/aosp_15_r20/external/rust/android-crates-io/crates/strum_macros/src/
Dlib.rs116 macros::from_string::from_string_inner(&ast).unwrap_or_else(|err| err.to_compile_error()); in from_string()
161 macros::as_ref_str::as_ref_str_inner(&ast).unwrap_or_else(|err| err.to_compile_error()); in as_ref_str()
192 .unwrap_or_else(|err| err.to_compile_error()); in variant_names()
209 .unwrap_or_else(|err| err.to_compile_error()); in as_static_str()
251 .unwrap_or_else(|err| err.to_compile_error()); in into_static_str()
290 macros::to_string::to_string_inner(&ast).unwrap_or_else(|err| err.to_compile_error()); in to_string()
339 let toks = macros::display::display_inner(&ast).unwrap_or_else(|err| err.to_compile_error()); in display()
382 macros::enum_iter::enum_iter_inner(&ast).unwrap_or_else(|err| err.to_compile_error()); in enum_iter()
407 let toks = macros::enum_is::enum_is_inner(&ast).unwrap_or_else(|err| err.to_compile_error()); in enum_is()
442 macros::enum_try_as::enum_try_as_inner(&ast).unwrap_or_else(|err| err.to_compile_error()); in enum_try_as()
[all …]
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/strum_macros-0.25.3/src/
H A Dlib.rs116 macros::from_string::from_string_inner(&ast).unwrap_or_else(|err| err.to_compile_error()); in from_string()
161 macros::as_ref_str::as_ref_str_inner(&ast).unwrap_or_else(|err| err.to_compile_error()); in as_ref_str()
192 .unwrap_or_else(|err| err.to_compile_error()); in variant_names()
209 .unwrap_or_else(|err| err.to_compile_error()); in as_static_str()
251 .unwrap_or_else(|err| err.to_compile_error()); in into_static_str()
290 macros::to_string::to_string_inner(&ast).unwrap_or_else(|err| err.to_compile_error()); in to_string()
339 let toks = macros::display::display_inner(&ast).unwrap_or_else(|err| err.to_compile_error()); in display()
382 macros::enum_iter::enum_iter_inner(&ast).unwrap_or_else(|err| err.to_compile_error()); in enum_iter()
407 let toks = macros::enum_is::enum_is_inner(&ast).unwrap_or_else(|err| err.to_compile_error()); in enum_is()
442 macros::enum_try_as::enum_try_as_inner(&ast).unwrap_or_else(|err| err.to_compile_error()); in enum_try_as()
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/clap_derive/src/
Dlib.rs41 to_compile_error(err, dummy) in value_enum()
78 to_compile_error(err, dummy) in parser()
90 to_compile_error(err, dummy) in subcommand()
102 to_compile_error(err, dummy) in args()
107 fn to_compile_error( in to_compile_error() function
111 let compile_errors = error.to_compile_error(); in to_compile_error()
/aosp_15_r20/external/pigweed/pw_format/rust/
H A Dpw_format_test_macros.rs113 Err(e) => e.to_compile_error().into(), in generator_test_macro_impl()
233 Err(e) => e.to_compile_error().into(), in printf_generator_test_macro_impl()
255 Err(e) => e.to_compile_error().into(), in integer_sub_printf_format_printf_generator_test_macro()
267 Err(e) => e.to_compile_error().into(), in string_sub_printf_format_printf_generator_test_macro()
279 Err(e) => e.to_compile_error().into(), in char_sub_printf_format_printf_generator_test_macro()
382 Err(e) => e.to_compile_error().into(), in core_fmt_generator_test_macro_impl()
404 Err(e) => e.to_compile_error().into(), in integer_sub_printf_format_core_fmt_generator_test_macro()
416 Err(e) => e.to_compile_error().into(), in string_sub_printf_format_core_fmt_generator_test_macro()
428 Err(e) => e.to_compile_error().into(), in char_sub_printf_format_core_fmt_generator_test_macro()
/aosp_15_r20/external/rust/android-crates-io/crates/ptr_meta_derive/src/
Dlib.rs27 .to_compile_error(); in derive_pointee_impl()
38 .to_compile_error(); in derive_pointee_impl()
43 .to_compile_error() in derive_pointee_impl()
47 return Error::new(ident.span(), "enums cannot be dynamically sized").to_compile_error() in derive_pointee_impl()
51 .to_compile_error() in derive_pointee_impl()
/aosp_15_r20/external/rust/crates/ptr_meta_derive/src/
Dlib.rs27 .to_compile_error(); in derive_pointee_impl()
38 .to_compile_error(); in derive_pointee_impl()
43 .to_compile_error() in derive_pointee_impl()
47 return Error::new(ident.span(), "enums cannot be dynamically sized").to_compile_error() in derive_pointee_impl()
51 .to_compile_error() in derive_pointee_impl()
/aosp_15_r20/external/rust/android-crates-io/crates/zerocopy-derive/src/
Dlib.rs311 .to_compile_error(); in derive_from_zeroes_enum()
332 .to_compile_error(); in derive_from_zeroes_enum()
369 .to_compile_error(); in derive_from_bytes_enum()
389 .to_compile_error(); in derive_from_bytes_enum()
444 .to_compile_error(); in derive_as_bytes_struct()
474 .to_compile_error(); in derive_as_bytes_enum()
517 .to_compile_error(); in derive_as_bytes_union()
562 .to_compile_error(); in derive_unaligned_enum()
815 errors.iter().map(Error::to_compile_error).collect() in print_all_errors()
/aosp_15_r20/external/rust/android-crates-io/extra_versions/crates/zerocopy-derive/src/
Dlib.rs311 .to_compile_error(); in derive_from_zeroes_enum()
332 .to_compile_error(); in derive_from_zeroes_enum()
369 .to_compile_error(); in derive_from_bytes_enum()
389 .to_compile_error(); in derive_from_bytes_enum()
444 .to_compile_error(); in derive_as_bytes_struct()
474 .to_compile_error(); in derive_as_bytes_enum()
517 .to_compile_error(); in derive_as_bytes_union()
562 .to_compile_error(); in derive_unaligned_enum()
815 errors.iter().map(Error::to_compile_error).collect() in print_all_errors()
/aosp_15_r20/external/rust/android-crates-io/crates/der_derive/src/
Dlib.rs198 Err(e) => e.to_compile_error().into(), in derive_choice()
236 Err(e) => e.to_compile_error().into(), in derive_enumerated()
278 Err(e) => e.to_compile_error().into(), in derive_sequence()
293 Err(e) => e.to_compile_error().into(), in derive_value_ord()
/aosp_15_r20/external/rust/android-crates-io/crates/synstructure/src/
Dmacros.rs101 Err(e) => e.to_compile_error().into(),
104 Err(e) => e.to_compile_error().into(),
158 Err(e) => e.to_compile_error().into(),
160 Err(e) => e.to_compile_error().into(),
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/syn-1.0.109/src/
H A Derror.rs205 pub fn to_compile_error(&self) -> TokenStream { in to_compile_error() method
208 .map(ErrorMessage::to_compile_error) in to_compile_error()
245 self.to_compile_error() in into_compile_error()
256 fn to_compile_error(&self) -> TokenStream { in to_compile_error() method
H A Dparse_macro_input.rs113 return $crate::__private::TokenStream::from(err.to_compile_error());
121 return $crate::__private::TokenStream::from(err.to_compile_error());
/aosp_15_r20/external/rust/android-crates-io/crates/maybe-async/src/
Dlib.rs395 Err(e) => return e.to_compile_error().into(), in maybe_async()
412 Err(e) => return e.to_compile_error().into(), in must_be_async()
448 Err(e) => return e.to_compile_error().into(), in async_impl()
549 Err(err) => err.to_compile_error().into(), in test()
/aosp_15_r20/external/rust/android-crates-io/crates/syn/src/
Derror.rs225 pub fn to_compile_error(&self) -> TokenStream { in to_compile_error() method
228 .map(ErrorMessage::to_compile_error) in to_compile_error()
265 self.to_compile_error() in into_compile_error()
276 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());
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/syn-2.0.55/src/
H A Derror.rs225 pub fn to_compile_error(&self) -> TokenStream { in to_compile_error() method
228 .map(ErrorMessage::to_compile_error) in to_compile_error()
265 self.to_compile_error() in into_compile_error()
276 fn to_compile_error(&self) -> TokenStream { in to_compile_error() method
H A Dparse_macro_input.rs113 return $crate::__private::TokenStream::from(err.to_compile_error());
121 return $crate::__private::TokenStream::from(err.to_compile_error());
/aosp_15_r20/external/pigweed/pw_tokenizer/rust/
H A Dpw_tokenizer_macro.rs229 Err(e) => e.to_compile_error().into(), in _tokenize_core_fmt_to_buffer()
248 Err(e) => e.to_compile_error().into(), in _tokenize_printf_to_buffer()
375 Err(e) => e.to_compile_error().into(), in _tokenize_core_fmt_to_writer()
391 Err(e) => e.to_compile_error().into(), in _tokenize_printf_to_writer()
/aosp_15_r20/external/rust/android-crates-io/crates/num_enum_derive/src/
Dlib.rs108 return syn::Error::new(span, message).to_compile_error().into(); in derive_from_primitive()
112 return err.to_compile_error().into(); in derive_from_primitive()
349 return syn::Error::new(span, message).to_compile_error().into(); in derive_default()
/aosp_15_r20/external/rust/android-crates-io/crates/futures-macro/src/
Dexecutor.rs8 .to_compile_error() in test()
16 .to_compile_error() in test()
/aosp_15_r20/external/rust/android-crates-io/crates/tokio-macros/src/
Dlib.rs549 .to_compile_error() in main_fail()
563 .to_compile_error() in test_fail()
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/cxxbridge-macro-1.0.120/src/
H A Dlib.rs75 Err(err) => return err.to_compile_error().into(), in bridge()
81 .unwrap_or_else(|err| err.to_compile_error()) in bridge()
/aosp_15_r20/external/rust/cxx/macro/src/
Dlib.rs75 Err(err) => return err.to_compile_error().into(), in bridge()
81 .unwrap_or_else(|err| err.to_compile_error()) in bridge()
/aosp_15_r20/external/rust/android-crates-io/crates/async-stream-impl/src/
Dlib.rs69 out.append_all(&mut e.to_compile_error().into_iter()); in visit_token_stream_impl()
209 Err(e) => return e.to_compile_error().into(), in stream_inner()
243 Err(e) => return e.to_compile_error().into(), in try_stream_inner()
/aosp_15_r20/external/pigweed/pw_log/rust/
H A Dpw_log_backend_println_macro.rs116 Err(e) => e.to_compile_error().into(), in _pw_log_backend()
128 Err(e) => e.to_compile_error().into(), in _pw_logf_backend()

123