@@ -5,6 +5,9 @@ resolve_add_as_non_derive =
5
5
add as non-Derive macro
6
6
`#[{ $macro_path } ]`
7
7
8
+ resolve_added_macro_use =
9
+ have you added the `#[macro_use]` on the module/import?
10
+
8
11
resolve_ampersand_used_without_explicit_lifetime_name =
9
12
`&` without an explicit lifetime name cannot be used here
10
13
.note = explicit lifetime name needed here
@@ -45,9 +48,21 @@ resolve_cannot_capture_dynamic_environment_in_fn_item =
45
48
can't capture dynamic environment in a fn item
46
49
.help = use the `|| { " { " } ... { " } " } ` closure form instead
47
50
51
+ resolve_cannot_find_ident_in_this_scope =
52
+ cannot find { $expected } `{ $ident } ` in this scope
53
+
48
54
resolve_cannot_use_self_type_here =
49
55
can't use `Self` here
50
56
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
+
51
66
resolve_const_not_member_of_trait =
52
67
const `{ $const_ } ` is not a member of trait `{ $trait_ } `
53
68
.label = not a member of trait `{ $trait_ } `
@@ -74,6 +89,9 @@ resolve_expected_found =
74
89
expected module, found { $res } `{ $path_str } `
75
90
.label = not a module
76
91
92
+ resolve_explicit_unsafe_traits =
93
+ unsafe traits like `{ $ident } ` should be implemented explicitly
94
+
77
95
resolve_forward_declared_generic_param =
78
96
generic parameters with a default cannot use forward declared identifiers
79
97
.label = defaulted generic parameters cannot be forward declared
@@ -96,6 +114,9 @@ resolve_ident_bound_more_than_once_in_same_pattern =
96
114
97
115
resolve_imported_crate = `$crate` may not be imported
98
116
117
+ resolve_imports_cannot_refer_to =
118
+ imports cannot refer to { $what }
119
+
99
120
resolve_indeterminate =
100
121
cannot determine resolution for the visibility
101
122
@@ -262,25 +283,3 @@ resolve_variable_bound_with_different_mode =
262
283
variable `{ $variable_name } ` is bound inconsistently across alternatives separated by `|`
263
284
.label = bound in different ways
264
285
.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