1#![feature(assert_matches)]
15#![feature(associated_type_defaults)]
16#![feature(box_patterns)]
17#![feature(default_field_values)]
18#![feature(hash_set_entry)]
19#![feature(if_let_guard)]
20#![feature(iter_intersperse)]
21#![feature(iterator_try_reduce)]
22#![feature(never_type)]
23#![feature(strip_circumfix)]
24#![feature(try_blocks)]
25#![feature(unwrap_infallible)]
26#![feature(yeet_expr)]
27#![recursion_limit = "512"] pub mod error_reporting;
31pub mod errors;
32pub mod infer;
33pub mod opaque_types;
34pub mod regions;
35pub mod solve;
36pub mod traits;
37
38#[allow(non_upper_case_globals)]
#[doc(hidden)]
#[doc =
r" Auto-generated constants for type-checked references to Fluent messages."]
pub(crate) mod fluent_generated {
#[doc =
"Constant referring to Fluent message `trait_selection_actual_impl_expl_but_actually_implemented_for_ty` from `trait_selection`"]
pub const
trait_selection_actual_impl_expl_but_actually_implemented_for_ty:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_actual_impl_expl_but_actually_implemented_for_ty"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_actual_impl_expl_but_actually_implements_trait` from `trait_selection`"]
pub const trait_selection_actual_impl_expl_but_actually_implements_trait:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_actual_impl_expl_but_actually_implements_trait"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_actual_impl_expl_but_actually_ty_implements` from `trait_selection`"]
pub const trait_selection_actual_impl_expl_but_actually_ty_implements:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_actual_impl_expl_but_actually_ty_implements"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_actual_impl_expl_expected_other_any` from `trait_selection`"]
pub const trait_selection_actual_impl_expl_expected_other_any:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_actual_impl_expl_expected_other_any"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_actual_impl_expl_expected_other_nothing` from `trait_selection`"]
pub const trait_selection_actual_impl_expl_expected_other_nothing:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_actual_impl_expl_expected_other_nothing"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_actual_impl_expl_expected_other_some` from `trait_selection`"]
pub const trait_selection_actual_impl_expl_expected_other_some:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_actual_impl_expl_expected_other_some"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_actual_impl_expl_expected_other_two` from `trait_selection`"]
pub const trait_selection_actual_impl_expl_expected_other_two:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_actual_impl_expl_expected_other_two"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_actual_impl_expl_expected_passive_any` from `trait_selection`"]
pub const trait_selection_actual_impl_expl_expected_passive_any:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_actual_impl_expl_expected_passive_any"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_actual_impl_expl_expected_passive_nothing` from `trait_selection`"]
pub const trait_selection_actual_impl_expl_expected_passive_nothing:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_actual_impl_expl_expected_passive_nothing"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_actual_impl_expl_expected_passive_some` from `trait_selection`"]
pub const trait_selection_actual_impl_expl_expected_passive_some:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_actual_impl_expl_expected_passive_some"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_actual_impl_expl_expected_passive_two` from `trait_selection`"]
pub const trait_selection_actual_impl_expl_expected_passive_two:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_actual_impl_expl_expected_passive_two"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_actual_impl_expl_expected_signature_any` from `trait_selection`"]
pub const trait_selection_actual_impl_expl_expected_signature_any:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_actual_impl_expl_expected_signature_any"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_actual_impl_expl_expected_signature_nothing` from `trait_selection`"]
pub const trait_selection_actual_impl_expl_expected_signature_nothing:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_actual_impl_expl_expected_signature_nothing"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_actual_impl_expl_expected_signature_some` from `trait_selection`"]
pub const trait_selection_actual_impl_expl_expected_signature_some:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_actual_impl_expl_expected_signature_some"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_actual_impl_expl_expected_signature_two` from `trait_selection`"]
pub const trait_selection_actual_impl_expl_expected_signature_two:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_actual_impl_expl_expected_signature_two"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_adjust_signature_borrow` from `trait_selection`"]
pub const trait_selection_adjust_signature_borrow:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_adjust_signature_borrow"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_adjust_signature_remove_borrow` from `trait_selection`"]
pub const trait_selection_adjust_signature_remove_borrow:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_adjust_signature_remove_borrow"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_ascribe_user_type_prove_predicate` from `trait_selection`"]
pub const trait_selection_ascribe_user_type_prove_predicate:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_ascribe_user_type_prove_predicate"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_await_both_futures` from `trait_selection`"]
pub const trait_selection_await_both_futures: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_await_both_futures"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_await_future` from `trait_selection`"]
pub const trait_selection_await_future: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_await_future"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_await_note` from `trait_selection`"]
pub const trait_selection_await_note: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_await_note"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_but_calling_introduces` from `trait_selection`"]
pub const trait_selection_but_calling_introduces:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_but_calling_introduces"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_but_calling_introduces.label1` from `trait_selection`"]
pub const trait_selection_label1: rustc_errors::SubdiagMessage =
rustc_errors::SubdiagMessage::FluentAttr(std::borrow::Cow::Borrowed("label1"));
#[doc =
"Constant referring to Fluent message `trait_selection_but_calling_introduces.label2` from `trait_selection`"]
pub const trait_selection_label2: rustc_errors::SubdiagMessage =
rustc_errors::SubdiagMessage::FluentAttr(std::borrow::Cow::Borrowed("label2"));
#[doc =
"Constant referring to Fluent message `trait_selection_but_needs_to_satisfy` from `trait_selection`"]
pub const trait_selection_but_needs_to_satisfy: rustc_errors::DiagMessage
=
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_but_needs_to_satisfy"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_but_needs_to_satisfy.influencer` from `trait_selection`"]
pub const trait_selection_influencer: rustc_errors::SubdiagMessage =
rustc_errors::SubdiagMessage::FluentAttr(std::borrow::Cow::Borrowed("influencer"));
#[doc =
"Constant referring to Fluent message `trait_selection_but_needs_to_satisfy.require` from `trait_selection`"]
pub const trait_selection_require: rustc_errors::SubdiagMessage =
rustc_errors::SubdiagMessage::FluentAttr(std::borrow::Cow::Borrowed("require"));
#[doc =
"Constant referring to Fluent message `trait_selection_but_needs_to_satisfy.used_here` from `trait_selection`"]
pub const trait_selection_used_here: rustc_errors::SubdiagMessage =
rustc_errors::SubdiagMessage::FluentAttr(std::borrow::Cow::Borrowed("used_here"));
#[doc =
"Constant referring to Fluent message `trait_selection_but_needs_to_satisfy.introduced_by_bound` from `trait_selection`"]
pub const trait_selection_introduced_by_bound:
rustc_errors::SubdiagMessage =
rustc_errors::SubdiagMessage::FluentAttr(std::borrow::Cow::Borrowed("introduced_by_bound"));
#[doc =
"Constant referring to Fluent message `trait_selection_closure_fn_mut_label` from `trait_selection`"]
pub const trait_selection_closure_fn_mut_label: rustc_errors::DiagMessage
=
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_closure_fn_mut_label"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_closure_fn_once_label` from `trait_selection`"]
pub const trait_selection_closure_fn_once_label: rustc_errors::DiagMessage
=
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_closure_fn_once_label"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_closure_kind_mismatch` from `trait_selection`"]
pub const trait_selection_closure_kind_mismatch: rustc_errors::DiagMessage
=
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_closure_kind_mismatch"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_closure_kind_mismatch.label` from `trait_selection`"]
pub const trait_selection_label: rustc_errors::SubdiagMessage =
rustc_errors::SubdiagMessage::FluentAttr(std::borrow::Cow::Borrowed("label"));
#[doc =
"Constant referring to Fluent message `trait_selection_closure_kind_requirement` from `trait_selection`"]
pub const trait_selection_closure_kind_requirement:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_closure_kind_requirement"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_compare_impl_item_obligation` from `trait_selection`"]
pub const trait_selection_compare_impl_item_obligation:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_compare_impl_item_obligation"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_consider_specifying_length` from `trait_selection`"]
pub const trait_selection_consider_specifying_length:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_consider_specifying_length"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_coro_closure_not_fn` from `trait_selection`"]
pub const trait_selection_coro_closure_not_fn: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_coro_closure_not_fn"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_data_flows` from `trait_selection`"]
pub const trait_selection_data_flows: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_data_flows"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_data_lifetime_flow` from `trait_selection`"]
pub const trait_selection_data_lifetime_flow: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_data_lifetime_flow"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_data_returned` from `trait_selection`"]
pub const trait_selection_data_returned: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_data_returned"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_declared_different` from `trait_selection`"]
pub const trait_selection_declared_different: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_declared_different"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_declared_multiple` from `trait_selection`"]
pub const trait_selection_declared_multiple: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_declared_multiple"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_disallowed_positional_argument` from `trait_selection`"]
pub const trait_selection_disallowed_positional_argument:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_disallowed_positional_argument"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_disallowed_positional_argument.help` from `trait_selection`"]
pub const trait_selection_help: rustc_errors::SubdiagMessage =
rustc_errors::SubdiagMessage::FluentAttr(std::borrow::Cow::Borrowed("help"));
#[doc =
"Constant referring to Fluent message `trait_selection_does_not_outlive_static_from_impl` from `trait_selection`"]
pub const trait_selection_does_not_outlive_static_from_impl:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_does_not_outlive_static_from_impl"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_dtcs_has_lifetime_req_label` from `trait_selection`"]
pub const trait_selection_dtcs_has_lifetime_req_label:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_dtcs_has_lifetime_req_label"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_dtcs_has_req_note` from `trait_selection`"]
pub const trait_selection_dtcs_has_req_note: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_dtcs_has_req_note"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_dtcs_introduces_requirement` from `trait_selection`"]
pub const trait_selection_dtcs_introduces_requirement:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_dtcs_introduces_requirement"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_dtcs_suggestion` from `trait_selection`"]
pub const trait_selection_dtcs_suggestion: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_dtcs_suggestion"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_explicit_lifetime_required_sugg_with_ident` from `trait_selection`"]
pub const trait_selection_explicit_lifetime_required_sugg_with_ident:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_explicit_lifetime_required_sugg_with_ident"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_explicit_lifetime_required_sugg_with_param_type` from `trait_selection`"]
pub const trait_selection_explicit_lifetime_required_sugg_with_param_type:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_explicit_lifetime_required_sugg_with_param_type"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_explicit_lifetime_required_with_ident` from `trait_selection`"]
pub const trait_selection_explicit_lifetime_required_with_ident:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_explicit_lifetime_required_with_ident"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_explicit_lifetime_required_with_param_type` from `trait_selection`"]
pub const trait_selection_explicit_lifetime_required_with_param_type:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_explicit_lifetime_required_with_param_type"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_fn_consider_casting` from `trait_selection`"]
pub const trait_selection_fn_consider_casting: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_fn_consider_casting"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_fn_consider_casting_both` from `trait_selection`"]
pub const trait_selection_fn_consider_casting_both:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_fn_consider_casting_both"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_fn_uniq_types` from `trait_selection`"]
pub const trait_selection_fn_uniq_types: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_fn_uniq_types"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_fps_cast` from `trait_selection`"]
pub const trait_selection_fps_cast: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_fps_cast"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_fps_cast_both` from `trait_selection`"]
pub const trait_selection_fps_cast_both: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_fps_cast_both"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_fps_items_are_distinct` from `trait_selection`"]
pub const trait_selection_fps_items_are_distinct:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_fps_items_are_distinct"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_fps_remove_ref` from `trait_selection`"]
pub const trait_selection_fps_remove_ref: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_fps_remove_ref"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_fps_use_ref` from `trait_selection`"]
pub const trait_selection_fps_use_ref: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_fps_use_ref"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_fulfill_req_lifetime` from `trait_selection`"]
pub const trait_selection_fulfill_req_lifetime: rustc_errors::DiagMessage
=
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_fulfill_req_lifetime"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_ignored_diagnostic_option` from `trait_selection`"]
pub const trait_selection_ignored_diagnostic_option:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_ignored_diagnostic_option"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_ignored_diagnostic_option.other_label` from `trait_selection`"]
pub const trait_selection_other_label: rustc_errors::SubdiagMessage =
rustc_errors::SubdiagMessage::FluentAttr(std::borrow::Cow::Borrowed("other_label"));
#[doc =
"Constant referring to Fluent message `trait_selection_implicit_static_lifetime_note` from `trait_selection`"]
pub const trait_selection_implicit_static_lifetime_note:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_implicit_static_lifetime_note"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_implicit_static_lifetime_suggestion` from `trait_selection`"]
pub const trait_selection_implicit_static_lifetime_suggestion:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_implicit_static_lifetime_suggestion"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_inherent_projection_normalization_overflow` from `trait_selection`"]
pub const trait_selection_inherent_projection_normalization_overflow:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_inherent_projection_normalization_overflow"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_invalid_format_specifier` from `trait_selection`"]
pub const trait_selection_invalid_format_specifier:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_invalid_format_specifier"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_label_bad` from `trait_selection`"]
pub const trait_selection_label_bad: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_label_bad"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_lf_bound_not_satisfied` from `trait_selection`"]
pub const trait_selection_lf_bound_not_satisfied:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_lf_bound_not_satisfied"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_lifetime_mismatch` from `trait_selection`"]
pub const trait_selection_lifetime_mismatch: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_lifetime_mismatch"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_lifetime_param_suggestion` from `trait_selection`"]
pub const trait_selection_lifetime_param_suggestion:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_lifetime_param_suggestion"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_lifetime_param_suggestion_elided` from `trait_selection`"]
pub const trait_selection_lifetime_param_suggestion_elided:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_lifetime_param_suggestion_elided"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_malformed_on_unimplemented_attr` from `trait_selection`"]
pub const trait_selection_malformed_on_unimplemented_attr:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_malformed_on_unimplemented_attr"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_meant_byte_literal` from `trait_selection`"]
pub const trait_selection_meant_byte_literal: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_meant_byte_literal"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_meant_char_literal` from `trait_selection`"]
pub const trait_selection_meant_char_literal: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_meant_char_literal"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_meant_str_literal` from `trait_selection`"]
pub const trait_selection_meant_str_literal: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_meant_str_literal"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_mismatched_static_lifetime` from `trait_selection`"]
pub const trait_selection_mismatched_static_lifetime:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_mismatched_static_lifetime"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_missing_options_for_on_unimplemented_attr` from `trait_selection`"]
pub const trait_selection_missing_options_for_on_unimplemented_attr:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_missing_options_for_on_unimplemented_attr"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_msl_introduces_static` from `trait_selection`"]
pub const trait_selection_msl_introduces_static: rustc_errors::DiagMessage
=
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_msl_introduces_static"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_msl_unmet_req` from `trait_selection`"]
pub const trait_selection_msl_unmet_req: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_msl_unmet_req"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_negative_positive_conflict` from `trait_selection`"]
pub const trait_selection_negative_positive_conflict:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_negative_positive_conflict"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_negative_positive_conflict.negative_implementation_here` from `trait_selection`"]
pub const trait_selection_negative_implementation_here:
rustc_errors::SubdiagMessage =
rustc_errors::SubdiagMessage::FluentAttr(std::borrow::Cow::Borrowed("negative_implementation_here"));
#[doc =
"Constant referring to Fluent message `trait_selection_negative_positive_conflict.negative_implementation_in_crate` from `trait_selection`"]
pub const trait_selection_negative_implementation_in_crate:
rustc_errors::SubdiagMessage =
rustc_errors::SubdiagMessage::FluentAttr(std::borrow::Cow::Borrowed("negative_implementation_in_crate"));
#[doc =
"Constant referring to Fluent message `trait_selection_negative_positive_conflict.positive_implementation_here` from `trait_selection`"]
pub const trait_selection_positive_implementation_here:
rustc_errors::SubdiagMessage =
rustc_errors::SubdiagMessage::FluentAttr(std::borrow::Cow::Borrowed("positive_implementation_here"));
#[doc =
"Constant referring to Fluent message `trait_selection_negative_positive_conflict.positive_implementation_in_crate` from `trait_selection`"]
pub const trait_selection_positive_implementation_in_crate:
rustc_errors::SubdiagMessage =
rustc_errors::SubdiagMessage::FluentAttr(std::borrow::Cow::Borrowed("positive_implementation_in_crate"));
#[doc =
"Constant referring to Fluent message `trait_selection_nothing` from `trait_selection`"]
pub const trait_selection_nothing: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_nothing"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_oc_cant_coerce_force_inline` from `trait_selection`"]
pub const trait_selection_oc_cant_coerce_force_inline:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_oc_cant_coerce_force_inline"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_oc_cant_coerce_intrinsic` from `trait_selection`"]
pub const trait_selection_oc_cant_coerce_intrinsic:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_oc_cant_coerce_intrinsic"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_oc_closure_selfref` from `trait_selection`"]
pub const trait_selection_oc_closure_selfref: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_oc_closure_selfref"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_oc_const_compat` from `trait_selection`"]
pub const trait_selection_oc_const_compat: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_oc_const_compat"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_oc_fn_lang_correct_type` from `trait_selection`"]
pub const trait_selection_oc_fn_lang_correct_type:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_oc_fn_lang_correct_type"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_oc_fn_main_correct_type` from `trait_selection`"]
pub const trait_selection_oc_fn_main_correct_type:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_oc_fn_main_correct_type"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_oc_generic` from `trait_selection`"]
pub const trait_selection_oc_generic: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_oc_generic"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_oc_if_else_different` from `trait_selection`"]
pub const trait_selection_oc_if_else_different: rustc_errors::DiagMessage
=
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_oc_if_else_different"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_oc_intrinsic_correct_type` from `trait_selection`"]
pub const trait_selection_oc_intrinsic_correct_type:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_oc_intrinsic_correct_type"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_oc_match_compat` from `trait_selection`"]
pub const trait_selection_oc_match_compat: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_oc_match_compat"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_oc_method_compat` from `trait_selection`"]
pub const trait_selection_oc_method_compat: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_oc_method_compat"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_oc_method_correct_type` from `trait_selection`"]
pub const trait_selection_oc_method_correct_type:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_oc_method_correct_type"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_oc_no_diverge` from `trait_selection`"]
pub const trait_selection_oc_no_diverge: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_oc_no_diverge"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_oc_no_else` from `trait_selection`"]
pub const trait_selection_oc_no_else: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_oc_no_else"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_oc_try_compat` from `trait_selection`"]
pub const trait_selection_oc_try_compat: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_oc_try_compat"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_oc_type_compat` from `trait_selection`"]
pub const trait_selection_oc_type_compat: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_oc_type_compat"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_opaque_captures_lifetime` from `trait_selection`"]
pub const trait_selection_opaque_captures_lifetime:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_opaque_captures_lifetime"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_opaque_type_non_generic_param` from `trait_selection`"]
pub const trait_selection_opaque_type_non_generic_param:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_opaque_type_non_generic_param"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_outlives_bound` from `trait_selection`"]
pub const trait_selection_outlives_bound: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_outlives_bound"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_outlives_content` from `trait_selection`"]
pub const trait_selection_outlives_content: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_outlives_content"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_precise_capturing_existing` from `trait_selection`"]
pub const trait_selection_precise_capturing_existing:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_precise_capturing_existing"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_precise_capturing_new` from `trait_selection`"]
pub const trait_selection_precise_capturing_new: rustc_errors::DiagMessage
=
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_precise_capturing_new"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_precise_capturing_new_but_apit` from `trait_selection`"]
pub const trait_selection_precise_capturing_new_but_apit:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_precise_capturing_new_but_apit"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_precise_capturing_overcaptures` from `trait_selection`"]
pub const trait_selection_precise_capturing_overcaptures:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_precise_capturing_overcaptures"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_prlf_defined_with_sub` from `trait_selection`"]
pub const trait_selection_prlf_defined_with_sub: rustc_errors::DiagMessage
=
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_prlf_defined_with_sub"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_prlf_defined_without_sub` from `trait_selection`"]
pub const trait_selection_prlf_defined_without_sub:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_prlf_defined_without_sub"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_prlf_known_limitation` from `trait_selection`"]
pub const trait_selection_prlf_known_limitation: rustc_errors::DiagMessage
=
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_prlf_known_limitation"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_prlf_must_outlive_with_sup` from `trait_selection`"]
pub const trait_selection_prlf_must_outlive_with_sup:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_prlf_must_outlive_with_sup"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_prlf_must_outlive_without_sup` from `trait_selection`"]
pub const trait_selection_prlf_must_outlive_without_sup:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_prlf_must_outlive_without_sup"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_reborrow` from `trait_selection`"]
pub const trait_selection_reborrow: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_reborrow"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_ref_longer_than_data` from `trait_selection`"]
pub const trait_selection_ref_longer_than_data: rustc_errors::DiagMessage
=
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_ref_longer_than_data"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_reference_outlives_referent` from `trait_selection`"]
pub const trait_selection_reference_outlives_referent:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_reference_outlives_referent"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_region_explanation` from `trait_selection`"]
pub const trait_selection_region_explanation: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_region_explanation"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_relate_object_bound` from `trait_selection`"]
pub const trait_selection_relate_object_bound: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_relate_object_bound"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_relate_param_bound` from `trait_selection`"]
pub const trait_selection_relate_param_bound: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_relate_param_bound"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_relate_param_bound_2` from `trait_selection`"]
pub const trait_selection_relate_param_bound_2: rustc_errors::DiagMessage
=
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_relate_param_bound_2"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_relate_region_param_bound` from `trait_selection`"]
pub const trait_selection_relate_region_param_bound:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_relate_region_param_bound"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_ril_because_of` from `trait_selection`"]
pub const trait_selection_ril_because_of: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_ril_because_of"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_ril_introduced_by` from `trait_selection`"]
pub const trait_selection_ril_introduced_by: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_ril_introduced_by"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_ril_introduced_here` from `trait_selection`"]
pub const trait_selection_ril_introduced_here: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_ril_introduced_here"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_ril_static_introduced_by` from `trait_selection`"]
pub const trait_selection_ril_static_introduced_by:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_ril_static_introduced_by"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_rustc_on_unimplemented_empty_on_clause` from `trait_selection`"]
pub const trait_selection_rustc_on_unimplemented_empty_on_clause:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_rustc_on_unimplemented_empty_on_clause"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_rustc_on_unimplemented_expected_identifier` from `trait_selection`"]
pub const trait_selection_rustc_on_unimplemented_expected_identifier:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_rustc_on_unimplemented_expected_identifier"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_rustc_on_unimplemented_expected_one_predicate_in_not` from `trait_selection`"]
pub const
trait_selection_rustc_on_unimplemented_expected_one_predicate_in_not:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_rustc_on_unimplemented_expected_one_predicate_in_not"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_rustc_on_unimplemented_invalid_flag` from `trait_selection`"]
pub const trait_selection_rustc_on_unimplemented_invalid_flag:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_rustc_on_unimplemented_invalid_flag"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_rustc_on_unimplemented_invalid_name` from `trait_selection`"]
pub const trait_selection_rustc_on_unimplemented_invalid_name:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_rustc_on_unimplemented_invalid_name"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_rustc_on_unimplemented_invalid_predicate` from `trait_selection`"]
pub const trait_selection_rustc_on_unimplemented_invalid_predicate:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_rustc_on_unimplemented_invalid_predicate"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_rustc_on_unimplemented_missing_value` from `trait_selection`"]
pub const trait_selection_rustc_on_unimplemented_missing_value:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_rustc_on_unimplemented_missing_value"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_rustc_on_unimplemented_missing_value.note` from `trait_selection`"]
pub const trait_selection_note: rustc_errors::SubdiagMessage =
rustc_errors::SubdiagMessage::FluentAttr(std::borrow::Cow::Borrowed("note"));
#[doc =
"Constant referring to Fluent message `trait_selection_rustc_on_unimplemented_unsupported_literal_in_on` from `trait_selection`"]
pub const
trait_selection_rustc_on_unimplemented_unsupported_literal_in_on:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_rustc_on_unimplemented_unsupported_literal_in_on"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_source_kind_closure_return` from `trait_selection`"]
pub const trait_selection_source_kind_closure_return:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_source_kind_closure_return"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_source_kind_fully_qualified` from `trait_selection`"]
pub const trait_selection_source_kind_fully_qualified:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_source_kind_fully_qualified"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_source_kind_subdiag_generic_label` from `trait_selection`"]
pub const trait_selection_source_kind_subdiag_generic_label:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_source_kind_subdiag_generic_label"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_source_kind_subdiag_generic_suggestion` from `trait_selection`"]
pub const trait_selection_source_kind_subdiag_generic_suggestion:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_source_kind_subdiag_generic_suggestion"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_source_kind_subdiag_let` from `trait_selection`"]
pub const trait_selection_source_kind_subdiag_let:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_source_kind_subdiag_let"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_srs_add` from `trait_selection`"]
pub const trait_selection_srs_add: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_srs_add"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_srs_add_one` from `trait_selection`"]
pub const trait_selection_srs_add_one: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_srs_add_one"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_srs_remove` from `trait_selection`"]
pub const trait_selection_srs_remove: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_srs_remove"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_srs_remove_and_box` from `trait_selection`"]
pub const trait_selection_srs_remove_and_box: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_srs_remove_and_box"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_stp_wrap_many` from `trait_selection`"]
pub const trait_selection_stp_wrap_many: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_stp_wrap_many"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_stp_wrap_one` from `trait_selection`"]
pub const trait_selection_stp_wrap_one: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_stp_wrap_one"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_subtype` from `trait_selection`"]
pub const trait_selection_subtype: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_subtype"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_subtype_2` from `trait_selection`"]
pub const trait_selection_subtype_2: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_subtype_2"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_suggest_accessing_field` from `trait_selection`"]
pub const trait_selection_suggest_accessing_field:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_suggest_accessing_field"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_suggest_add_let_for_letchains` from `trait_selection`"]
pub const trait_selection_suggest_add_let_for_letchains:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_suggest_add_let_for_letchains"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_tid_consider_borrowing` from `trait_selection`"]
pub const trait_selection_tid_consider_borrowing:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_tid_consider_borrowing"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_tid_param_help` from `trait_selection`"]
pub const trait_selection_tid_param_help: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_tid_param_help"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_tid_rel_help` from `trait_selection`"]
pub const trait_selection_tid_rel_help: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_tid_rel_help"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_trait_has_no_impls` from `trait_selection`"]
pub const trait_selection_trait_has_no_impls: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_trait_has_no_impls"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_trait_impl_diff` from `trait_selection`"]
pub const trait_selection_trait_impl_diff: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_trait_impl_diff"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_trait_impl_diff.found` from `trait_selection`"]
pub const trait_selection_found: rustc_errors::SubdiagMessage =
rustc_errors::SubdiagMessage::FluentAttr(std::borrow::Cow::Borrowed("found"));
#[doc =
"Constant referring to Fluent message `trait_selection_trait_impl_diff.expected` from `trait_selection`"]
pub const trait_selection_expected: rustc_errors::SubdiagMessage =
rustc_errors::SubdiagMessage::FluentAttr(std::borrow::Cow::Borrowed("expected"));
#[doc =
"Constant referring to Fluent message `trait_selection_trait_impl_diff.expected_found` from `trait_selection`"]
pub const trait_selection_expected_found: rustc_errors::SubdiagMessage =
rustc_errors::SubdiagMessage::FluentAttr(std::borrow::Cow::Borrowed("expected_found"));
#[doc =
"Constant referring to Fluent message `trait_selection_trait_placeholder_mismatch` from `trait_selection`"]
pub const trait_selection_trait_placeholder_mismatch:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_trait_placeholder_mismatch"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_trait_placeholder_mismatch.label_satisfy` from `trait_selection`"]
pub const trait_selection_label_satisfy: rustc_errors::SubdiagMessage =
rustc_errors::SubdiagMessage::FluentAttr(std::borrow::Cow::Borrowed("label_satisfy"));
#[doc =
"Constant referring to Fluent message `trait_selection_trait_placeholder_mismatch.label_where` from `trait_selection`"]
pub const trait_selection_label_where: rustc_errors::SubdiagMessage =
rustc_errors::SubdiagMessage::FluentAttr(std::borrow::Cow::Borrowed("label_where"));
#[doc =
"Constant referring to Fluent message `trait_selection_trait_placeholder_mismatch.label_dup` from `trait_selection`"]
pub const trait_selection_label_dup: rustc_errors::SubdiagMessage =
rustc_errors::SubdiagMessage::FluentAttr(std::borrow::Cow::Borrowed("label_dup"));
#[doc =
"Constant referring to Fluent message `trait_selection_try_cannot_convert` from `trait_selection`"]
pub const trait_selection_try_cannot_convert: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_try_cannot_convert"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_tuple_trailing_comma` from `trait_selection`"]
pub const trait_selection_tuple_trailing_comma: rustc_errors::DiagMessage
=
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_tuple_trailing_comma"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_ty_alias_overflow` from `trait_selection`"]
pub const trait_selection_ty_alias_overflow: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_ty_alias_overflow"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_type_annotations_needed` from `trait_selection`"]
pub const trait_selection_type_annotations_needed:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_type_annotations_needed"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_types_declared_different` from `trait_selection`"]
pub const trait_selection_types_declared_different:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_types_declared_different"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_unable_to_construct_constant_value` from `trait_selection`"]
pub const trait_selection_unable_to_construct_constant_value:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_unable_to_construct_constant_value"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_unknown_format_parameter_for_on_unimplemented_attr` from `trait_selection`"]
pub const
trait_selection_unknown_format_parameter_for_on_unimplemented_attr:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_unknown_format_parameter_for_on_unimplemented_attr"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_warn_removing_apit_params_for_overcapture` from `trait_selection`"]
pub const trait_selection_warn_removing_apit_params_for_overcapture:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_warn_removing_apit_params_for_overcapture"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_warn_removing_apit_params_for_undercapture` from `trait_selection`"]
pub const trait_selection_warn_removing_apit_params_for_undercapture:
rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_warn_removing_apit_params_for_undercapture"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_where_copy_predicates` from `trait_selection`"]
pub const trait_selection_where_copy_predicates: rustc_errors::DiagMessage
=
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_where_copy_predicates"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_where_remove` from `trait_selection`"]
pub const trait_selection_where_remove: rustc_errors::DiagMessage =
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_where_remove"),
None);
#[doc =
"Constant referring to Fluent message `trait_selection_wrapped_parser_error` from `trait_selection`"]
pub const trait_selection_wrapped_parser_error: rustc_errors::DiagMessage
=
rustc_errors::DiagMessage::FluentIdentifier(std::borrow::Cow::Borrowed("trait_selection_wrapped_parser_error"),
None);
#[doc =
r" Constants expected to exist by the diagnostic derive macros to use as default Fluent"]
#[doc = r" identifiers for different subdiagnostic kinds."]
pub mod _subdiag {
#[doc = r" Default for `#[help]`"]
pub const help: rustc_errors::SubdiagMessage =
rustc_errors::SubdiagMessage::FluentAttr(std::borrow::Cow::Borrowed("help"));
#[doc = r" Default for `#[note]`"]
pub const note: rustc_errors::SubdiagMessage =
rustc_errors::SubdiagMessage::FluentAttr(std::borrow::Cow::Borrowed("note"));
#[doc = r" Default for `#[warn]`"]
pub const warn: rustc_errors::SubdiagMessage =
rustc_errors::SubdiagMessage::FluentAttr(std::borrow::Cow::Borrowed("warn"));
#[doc = r" Default for `#[label]`"]
pub const label: rustc_errors::SubdiagMessage =
rustc_errors::SubdiagMessage::FluentAttr(std::borrow::Cow::Borrowed("label"));
#[doc = r" Default for `#[suggestion]`"]
pub const suggestion: rustc_errors::SubdiagMessage =
rustc_errors::SubdiagMessage::FluentAttr(std::borrow::Cow::Borrowed("suggestion"));
}
}rustc_fluent_macro::fluent_messages! { "../messages.ftl" }