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
+18
Original file line number
Diff line number
Diff line change
@@ -314,6 +314,22 @@ hir_analysis_only_current_traits_primitive = only traits defined in the current
314
314
315
315
hir_analysis_only_current_traits_ty = `{$ty}` is not defined in the current crate
316
316
317
+
hir_analysis_param_in_ty_of_assoc_const_binding =
318
+
the type of the associated constant `{$assoc_const}` must not depend on {$param_category->
319
+
[self] `Self`
320
+
[synthetic] `impl Trait`
321
+
*[normal] generic parameters
322
+
}
323
+
.label = its type must not depend on {$param_category->
324
+
[self] `Self`
325
+
[synthetic] `impl Trait`
326
+
*[normal] the {$param_def_kind} `{$param_name}`
327
+
}
328
+
.param_defined_here_label = {$param_category->
329
+
[synthetic] the `impl Trait` is specified here
330
+
*[normal] the {$param_def_kind} `{$param_name}` is defined here
331
+
}
332
+
317
333
hir_analysis_paren_sugar_attribute = the `#[rustc_paren_sugar]` attribute is a temporary means of controlling which traits can use parenthetical notation
318
334
.help = add `#![feature(unboxed_closures)]` to the crate attributes to use it
319
335
@@ -424,6 +440,8 @@ hir_analysis_transparent_non_zero_sized_enum = the variant of a transparent {$de
424
440
.label = needs at most one field with non-trivial size or alignment, but has {$field_count}
425
441
.labels = this field has non-zero size or requires alignment
426
442
443
+
hir_analysis_ty_of_assoc_const_binding_note = `{$assoc_const}` has type `{$ty}`
444
+
427
445
hir_analysis_ty_param_first_local = type parameter `{$param_ty}` must be covered by another type when it appears before the first local type (`{$local_type}`)
428
446
.label = type parameter `{$param_ty}` must be covered by another type when it appears before the first local type (`{$local_type}`)
429
447
.note = implementing a foreign trait is only possible if at least one of the types for which it is implemented is local, and no uncovered type parameters appear before that first local type
0 commit comments