You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -177,19 +188,29 @@ builtin_macros_no_default_variant = no default declared
177
188
.help = make a unit variant default by placing `#[default]` above it
178
189
.suggestion = make `{$ident}` default
179
190
191
+
builtin_macros_non_abi = at least one abi must be provided as an argument to `clobber_abi`
192
+
180
193
builtin_macros_non_exhaustive_default = default variant must be exhaustive
181
194
.label = declared `#[non_exhaustive]` here
182
195
.help = consider a manual implementation of `Default`
183
196
184
197
builtin_macros_non_unit_default = the `#[default]` attribute may only be used on unit enum variants
185
198
.help = consider a manual implementation of `Default`
186
199
200
+
builtin_macros_proc_macro = `proc-macro` crate types currently cannot export any items other than functions tagged with `#[proc_macro]`, `#[proc_macro_derive]`, or `#[proc_macro_attribute]`
201
+
187
202
builtin_macros_requires_cfg_pattern =
188
203
macro requires a cfg-pattern as an argument
189
204
.label = cfg-pattern required
190
205
206
+
builtin_macros_should_panic = functions using `#[should_panic]` must return `()`
207
+
191
208
builtin_macros_sugg = consider using a positional formatting argument instead
192
209
210
+
builtin_macros_test_arg_non_lifetime = functions used as tests can not have any non-lifetime generic parameters
211
+
212
+
builtin_macros_test_args = functions used as tests can not have any arguments
213
+
193
214
builtin_macros_test_bad_fn = {$kind} functions cannot be used for tests
194
215
.label = `{$kind}` because of this
195
216
@@ -198,6 +219,10 @@ builtin_macros_test_case_non_item = `#[test_case]` attribute is only allowed on
198
219
builtin_macros_test_runner_invalid = `test_runner` argument must be a path
0 commit comments