@@ -5,6 +5,9 @@ resolve_add_as_non_derive =
55 add as non-Derive macro
66 `#[{ $macro_path } ]`
77
8+ resolve_added_macro_use =
9+ have you added the `#[macro_use]` on the module/import?
10+
811resolve_ampersand_used_without_explicit_lifetime_name =
912 `&` without an explicit lifetime name cannot be used here
1013 .note = explicit lifetime name needed here
@@ -45,9 +48,21 @@ resolve_cannot_capture_dynamic_environment_in_fn_item =
4548 can't capture dynamic environment in a fn item
4649 .help = use the `|| { " { " } ... { " } " } ` closure form instead
4750
51+ resolve_cannot_find_ident_in_this_scope =
52+ cannot find { $expected } `{ $ident } ` in this scope
53+
4854resolve_cannot_use_self_type_here =
4955 can't use `Self` here
5056
57+ resolve_change_import_binding =
58+ you can use `as` to change the binding name of the import
59+
60+ resolve_consider_adding_a_derive =
61+ consider adding a derive
62+
63+ resolve_consider_adding_a_derive_enum =
64+ consider adding `#[derive(Default)]` to this enum
65+
5166resolve_const_not_member_of_trait =
5267 const `{ $const_ } ` is not a member of trait `{ $trait_ } `
5368 .label = not a member of trait `{ $trait_ } `
@@ -74,6 +89,9 @@ resolve_expected_found =
7489 expected module, found { $res } `{ $path_str } `
7590 .label = not a module
7691
92+ resolve_explicit_unsafe_traits =
93+ unsafe traits like `{ $ident } ` should be implemented explicitly
94+
7795resolve_forward_declared_generic_param =
7896 generic parameters with a default cannot use forward declared identifiers
7997 .label = defaulted generic parameters cannot be forward declared
@@ -96,6 +114,9 @@ resolve_ident_bound_more_than_once_in_same_pattern =
96114
97115resolve_imported_crate = `$crate` may not be imported
98116
117+ resolve_imports_cannot_refer_to =
118+ imports cannot refer to { $what }
119+
99120resolve_indeterminate =
100121 cannot determine resolution for the visibility
101122
@@ -262,25 +283,3 @@ resolve_variable_bound_with_different_mode =
262283 variable `{ $variable_name } ` is bound inconsistently across alternatives separated by `|`
263284 .label = bound in different ways
264285 .first_binding_span = first binding
265-
266- resolve_change_import_binding =
267- you can use `as` to change the binding name of the import
268-
269- resolve_imports_cannot_refer_to =
270- imports cannot refer to { $what }
271-
272- resolve_cannot_find_ident_in_this_scope =
273- cannot find { $expected } `{ $ident } ` in this scope
274-
275- resolve_explicit_unsafe_traits =
276- unsafe traits like `{ $ident } ` should be implemented explicitly
277-
278- resolve_added_macro_use =
279- have you added the `#[macro_use]` on the module/import?
280-
281- resolve_consider_adding_a_derive =
282- consider adding a derive
283- .suggestion = FIXME
284-
285- resolve_consider_adding_a_derive_enum =
286- consider adding `#[derive(Default)]` to this enum
0 commit comments