1- typeck_field_multiply_specified_in_initializer =
1+ hir_analysis_field_multiply_specified_in_initializer =
22 field `{ $ident } ` specified more than once
33 .label = used more than once
44 .previous_use_label = first use of `{ $ident } `
55
6- typeck_unrecognized_atomic_operation =
6+ hir_analysis_unrecognized_atomic_operation =
77 unrecognized atomic operation function: `{ $op } `
88 .label = unrecognized atomic operation
99
10- typeck_wrong_number_of_generic_arguments_to_intrinsic =
10+ hir_analysis_wrong_number_of_generic_arguments_to_intrinsic =
1111 intrinsic has wrong number of { $descr } parameters: found { $found } , expected { $expected }
1212 .label = expected { $expected } { $descr } { $expected ->
1313 [ one ] parameter
1414 *[ other ] parameters
1515 }
1616
17- typeck_unrecognized_intrinsic_function =
17+ hir_analysis_unrecognized_intrinsic_function =
1818 unrecognized intrinsic function: `{ $name } `
1919 .label = unrecognized intrinsic
2020
21- typeck_lifetimes_or_bounds_mismatch_on_trait =
21+ hir_analysis_lifetimes_or_bounds_mismatch_on_trait =
2222 lifetime parameters or bounds on { $item_kind } `{ $ident } ` do not match the trait declaration
2323 .label = lifetimes do not match { $item_kind } in trait
2424 .generics_label = lifetimes in impl do not match this { $item_kind } in trait
2525
26- typeck_drop_impl_on_wrong_item =
26+ hir_analysis_drop_impl_on_wrong_item =
2727 the `Drop` trait may only be implemented for local structs, enums, and unions
2828 .label = must be a struct, enum, or union in the current crate
2929
30- typeck_field_already_declared =
30+ hir_analysis_field_already_declared =
3131 field `{ $field_name } ` is already declared
3232 .label = field already declared
3333 .previous_decl_label = `{ $field_name } ` first declared here
3434
35- typeck_copy_impl_on_type_with_dtor =
35+ hir_analysis_copy_impl_on_type_with_dtor =
3636 the trait `Copy` may not be implemented for this type; the type has a destructor
3737 .label = `Copy` not allowed on types with destructors
3838
39- typeck_multiple_relaxed_default_bounds =
39+ hir_analysis_multiple_relaxed_default_bounds =
4040 type parameter has more than one relaxed default bound, only one is supported
4141
42- typeck_copy_impl_on_non_adt =
42+ hir_analysis_copy_impl_on_non_adt =
4343 the trait `Copy` may not be implemented for this type
4444 .label = type is not a structure or enumeration
4545
46- typeck_trait_object_declared_with_no_traits =
46+ hir_analysis_trait_object_declared_with_no_traits =
4747 at least one trait is required for an object type
4848 .alias_span = this alias does not contain a trait
4949
50- typeck_ambiguous_lifetime_bound =
50+ hir_analysis_ambiguous_lifetime_bound =
5151 ambiguous lifetime bound, explicit lifetime bound required
5252
53- typeck_assoc_type_binding_not_allowed =
53+ hir_analysis_assoc_type_binding_not_allowed =
5454 associated type bindings are not allowed here
5555 .label = associated type not allowed here
5656
57- typeck_functional_record_update_on_non_struct =
57+ hir_analysis_functional_record_update_on_non_struct =
5858 functional record update syntax requires a struct
5959
60- typeck_typeof_reserved_keyword_used =
60+ hir_analysis_typeof_reserved_keyword_used =
6161 `typeof` is a reserved keyword but unimplemented
6262 .suggestion = consider replacing `typeof(...)` with an actual type
6363 .label = reserved keyword
6464
65- typeck_return_stmt_outside_of_fn_body =
65+ hir_analysis_return_stmt_outside_of_fn_body =
6666 return statement outside of function body
6767 .encl_body_label = the return is part of this body...
6868 .encl_fn_label = ...not the enclosing function body
6969
70- typeck_yield_expr_outside_of_generator =
70+ hir_analysis_yield_expr_outside_of_generator =
7171 yield expression outside of generator literal
7272
73- typeck_struct_expr_non_exhaustive =
73+ hir_analysis_struct_expr_non_exhaustive =
7474 cannot create non-exhaustive { $what } using struct expression
7575
76- typeck_method_call_on_unknown_type =
76+ hir_analysis_method_call_on_unknown_type =
7777 the type of this value must be known to call a method on a raw pointer on it
7878
79- typeck_value_of_associated_struct_already_specified =
79+ hir_analysis_value_of_associated_struct_already_specified =
8080 the value of the associated type `{ $item_name } ` (from trait `{ $def_path } `) is already specified
8181 .label = re-bound here
8282 .previous_bound_label = `{ $item_name } ` bound here first
8383
84- typeck_address_of_temporary_taken = cannot take address of a temporary
84+ hir_analysis_address_of_temporary_taken = cannot take address of a temporary
8585 .label = temporary value
8686
87- typeck_add_return_type_add = try adding a return type
87+ hir_analysis_add_return_type_add = try adding a return type
8888
89- typeck_add_return_type_missing_here = a return type might be missing here
89+ hir_analysis_add_return_type_missing_here = a return type might be missing here
9090
91- typeck_expected_default_return_type = expected `()` because of default return type
91+ hir_analysis_expected_default_return_type = expected `()` because of default return type
9292
93- typeck_expected_return_type = expected `{ $expected } ` because of return type
93+ hir_analysis_expected_return_type = expected `{ $expected } ` because of return type
9494
95- typeck_unconstrained_opaque_type = unconstrained opaque type
95+ hir_analysis_unconstrained_opaque_type = unconstrained opaque type
9696 .note = `{ $name } ` must be used in combination with a concrete type within the same module
9797
98- typeck_missing_type_params =
98+ hir_analysis_missing_type_params =
9999 the type { $parameterCount ->
100100 [ one ] parameter
101101 *[ other ] parameters
@@ -117,19 +117,19 @@ typeck_missing_type_params =
117117 } to { $parameters }
118118 .note = because of the default `Self` reference, type parameters must be specified on object types
119119
120- typeck_manual_implementation =
120+ hir_analysis_manual_implementation =
121121 manual implementations of `{ $trait_name } ` are experimental
122122 .label = manual implementations of `{ $trait_name } ` are experimental
123123 .help = add `#![feature(unboxed_closures)]` to the crate attributes to enable
124124
125- typeck_substs_on_overridden_impl = could not resolve substs on overridden impl
125+ hir_analysis_substs_on_overridden_impl = could not resolve substs on overridden impl
126126
127- typeck_unused_extern_crate =
127+ hir_analysis_unused_extern_crate =
128128 unused extern crate
129129 .suggestion = remove it
130130
131- typeck_extern_crate_not_idiomatic =
131+ hir_analysis_extern_crate_not_idiomatic =
132132 `extern crate` is not idiomatic in the new edition
133133 .suggestion = convert it to a `{ $msg_code } `
134134
135- typeck_expected_used_symbol = expected `used`, `used(compiler)` or `used(linker)`
135+ hir_analysis_expected_used_symbol = expected `used`, `used(compiler)` or `used(linker)`
0 commit comments