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
Copy file name to clipboardExpand all lines: compiler/rustc_hir_analysis/messages.ftl
+14
Original file line number
Diff line number
Diff line change
@@ -289,6 +289,20 @@ hir_analysis_only_current_traits_primitive = only traits defined in the current
289
289
290
290
hir_analysis_only_current_traits_ty = `{$ty}` is not defined in the current crate
291
291
292
+
hir_analysis_param_in_ty_of_assoc_const_binding =
293
+
the type of the associated constant `{$assoc_const}` must not depend on {$synthetic->
294
+
[true] `impl Trait`
295
+
*[false] generic parameters
296
+
}
297
+
.label = its type must not depend on {$synthetic->
298
+
[true] `impl Trait`
299
+
*[false] the {$param_def_kind} `{$param_name}`
300
+
}
301
+
.param_defined_here_label = {$synthetic->
302
+
[true] the `impl Trait` is specified here
303
+
*[false] the {$param_def_kind} `{$param_name}` is defined here
304
+
}
305
+
292
306
hir_analysis_paren_sugar_attribute = the `#[rustc_paren_sugar]` attribute is a temporary means of controlling which traits can use parenthetical notation
293
307
.help = add `#![feature(unboxed_closures)]` to the crate attributes to use it
0 commit comments