Skip to content

Commit 9dfbc73

Browse files
committed
EII type checking
1 parent b38bb14 commit 9dfbc73

File tree

7 files changed

+499
-1
lines changed

7 files changed

+499
-1
lines changed

compiler/rustc_hir_analysis/messages.ftl

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -612,3 +612,14 @@ hir_analysis_wrong_number_of_generic_arguments_to_intrinsic =
612612
[one] parameter
613613
*[other] parameters
614614
}
615+
616+
hir_analysis_lifetimes_or_bounds_mismatch_on_eii =
617+
lifetime parameters or bounds of `{$ident}` do not match the declaration
618+
.label = lifetimes do not match
619+
.generics_label = lifetimes in impl do not match this signature
620+
.where_label = this `where` clause might not match the one in the declaration
621+
.bounds_label = this bound might be missing in the implementation
622+
623+
hir_analysis_eii_with_generics =
624+
#[{$eii_name}] cannot have generic parameters other than lifetimes
625+
.label = required by this attribute

0 commit comments

Comments
 (0)