@@ -37,9 +37,6 @@ middle_autodiff_unsafe_inner_const_ref = reading from a `Duplicated` const {$ty}
37
37
middle_bounds_check =
38
38
index out of bounds: the length is { $len } but the index is { $index }
39
39
40
- middle_cannot_be_normalized =
41
- unable to determine layout for `{ $ty } ` because `{ $failure_ty } ` cannot be normalized
42
-
43
40
middle_conflict_types =
44
41
this expression supplies two conflicting concrete types for the same opaque type
45
42
@@ -52,9 +49,6 @@ middle_const_eval_non_int =
52
49
middle_const_not_used_in_type_alias =
53
50
const parameter `{ $ct } ` is part of concrete type but not used in parameter list for the `impl Trait` type alias
54
51
55
- middle_cycle =
56
- a cycle occurred during layout computation
57
-
58
52
middle_deprecated = use of deprecated { $kind } `{ $path } `{ $has_note ->
59
53
[ true ] : { $note }
60
54
*[ other ] { " " }
@@ -78,9 +72,23 @@ middle_erroneous_constant = erroneous constant encountered
78
72
middle_failed_writing_file =
79
73
failed to write file { $path } : { $error } "
80
74
75
+ middle_layout_cycle =
76
+ a cycle occurred during layout computation
77
+
78
+ middle_layout_normalization_failure =
79
+ unable to determine layout for `{ $ty } ` because `{ $failure_ty } ` cannot be normalized
80
+
81
81
middle_layout_references_error =
82
82
the type has an unknown layout
83
83
84
+ middle_layout_size_overflow =
85
+ values of the type `{ $ty } ` are too big for the target architecture
86
+
87
+ middle_layout_too_generic = the type `{ $ty } ` does not have a fixed layout
88
+
89
+ middle_layout_unknown =
90
+ the type `{ $ty } ` has an unknown layout
91
+
84
92
middle_opaque_hidden_type_mismatch =
85
93
concrete type differs from previous defining opaque type use
86
94
.label = expected `{ $self_ty } `, got `{ $other_ty } `
@@ -98,16 +106,8 @@ middle_strict_coherence_needs_negative_coherence =
98
106
to use `strict_coherence` on this trait, the `with_negative_coherence` feature must be enabled
99
107
.label = due to this attribute
100
108
101
- middle_too_generic = `{ $ty } ` does not have a fixed size
102
-
103
109
middle_type_length_limit = reached the type-length limit while instantiating `{ $shrunk } `
104
110
105
- middle_unknown_layout =
106
- the type `{ $ty } ` has an unknown layout
107
-
108
111
middle_unsupported_union = we don't support unions yet: '{ $ty_name } '
109
112
110
- middle_values_too_big =
111
- values of the type `{ $ty } ` are too big for the target architecture
112
-
113
113
middle_written_to_path = the full type name has been written to '{ $path } '
0 commit comments