2023-05-17 05:30:14 -05:00
|
|
|
middle_adjust_for_foreign_abi_error =
|
|
|
|
target architecture {$arch} does not support `extern {$abi}` ABI
|
|
|
|
|
|
|
|
middle_assert_async_resume_after_panic = `async fn` resumed after panicking
|
|
|
|
|
|
|
|
middle_assert_async_resume_after_return = `async fn` resumed after completion
|
|
|
|
|
2023-10-19 16:46:28 -05:00
|
|
|
middle_assert_coroutine_resume_after_panic = coroutine resumed after panicking
|
2023-05-17 05:30:14 -05:00
|
|
|
|
2023-10-19 16:46:28 -05:00
|
|
|
middle_assert_coroutine_resume_after_return = coroutine resumed after completion
|
2023-05-17 05:30:14 -05:00
|
|
|
|
2023-10-19 16:46:28 -05:00
|
|
|
middle_assert_divide_by_zero =
|
|
|
|
attempt to divide `{$val}` by zero
|
2023-05-17 05:30:14 -05:00
|
|
|
|
2023-10-30 05:23:57 -05:00
|
|
|
middle_assert_gen_resume_after_panic = `gen` fn or block cannot be further iterated on after it panicked
|
|
|
|
|
2023-05-17 05:30:14 -05:00
|
|
|
middle_assert_misaligned_ptr_deref =
|
|
|
|
misaligned pointer dereference: address must be a multiple of {$required} but is {$found}
|
|
|
|
|
|
|
|
middle_assert_op_overflow =
|
|
|
|
attempt to compute `{$left} {$op} {$right}`, which would overflow
|
|
|
|
|
|
|
|
middle_assert_overflow_neg =
|
|
|
|
attempt to negate `{$val}`, which would overflow
|
|
|
|
|
|
|
|
middle_assert_remainder_by_zero =
|
|
|
|
attempt to calculate the remainder of `{$val}` with a divisor of zero
|
|
|
|
|
|
|
|
middle_assert_shl_overflow =
|
|
|
|
attempt to shift left by `{$val}`, which would overflow
|
|
|
|
|
|
|
|
middle_assert_shr_overflow =
|
|
|
|
attempt to shift right by `{$val}`, which would overflow
|
|
|
|
|
|
|
|
middle_bounds_check =
|
|
|
|
index out of bounds: the length is {$len} but the index is {$index}
|
|
|
|
|
2022-10-03 18:34:59 -05:00
|
|
|
middle_cannot_be_normalized =
|
|
|
|
unable to determine layout for `{$ty}` because `{$failure_ty}` cannot be normalized
|
2023-05-22 20:51:25 -05:00
|
|
|
|
2022-08-31 07:16:02 -05:00
|
|
|
middle_conflict_types =
|
|
|
|
this expression supplies two conflicting concrete types for the same opaque type
|
2023-05-22 20:51:25 -05:00
|
|
|
|
2024-05-24 13:09:40 -05:00
|
|
|
middle_consider_type_length_limit =
|
|
|
|
consider adding a `#![type_length_limit="{$type_length}"]` attribute to your crate
|
|
|
|
|
2022-10-02 16:02:57 -05:00
|
|
|
middle_const_eval_non_int =
|
|
|
|
constant evaluation of enum discriminant resulted in non-integer
|
2023-05-22 20:51:25 -05:00
|
|
|
|
2022-11-07 12:47:32 -06:00
|
|
|
middle_const_not_used_in_type_alias =
|
|
|
|
const parameter `{$ct}` is part of concrete type but not used in parameter list for the `impl Trait` type alias
|
2023-05-22 20:51:25 -05:00
|
|
|
|
2023-05-02 11:14:20 -05:00
|
|
|
middle_cycle =
|
|
|
|
a cycle occurred during layout computation
|
2023-05-22 20:51:25 -05:00
|
|
|
|
2024-04-21 08:24:25 -05:00
|
|
|
middle_deprecated = use of deprecated {$kind} `{$path}`{$has_note ->
|
|
|
|
[true] : {$note}
|
|
|
|
*[other] {""}
|
|
|
|
}
|
|
|
|
middle_deprecated_in_future = use of {$kind} `{$path}` that will be deprecated in a future Rust version{$has_note ->
|
|
|
|
[true] : {$note}
|
|
|
|
*[other] {""}
|
|
|
|
}
|
|
|
|
middle_deprecated_in_version = use of {$kind} `{$path}` that will be deprecated in future version {$version}{$has_note ->
|
|
|
|
[true] : {$note}
|
|
|
|
*[other] {""}
|
|
|
|
}
|
|
|
|
middle_deprecated_suggestion = replace the use of the deprecated {$kind}
|
|
|
|
|
2022-08-25 22:24:09 -05:00
|
|
|
middle_drop_check_overflow =
|
2024-11-05 15:54:45 -06:00
|
|
|
overflow while adding drop-check rules for `{$ty}`
|
|
|
|
.note = overflowed on `{$overflow_ty}`
|
2022-08-31 07:16:02 -05:00
|
|
|
|
2023-09-11 16:09:11 -05:00
|
|
|
middle_erroneous_constant = erroneous constant encountered
|
|
|
|
|
2023-07-16 18:26:02 -05:00
|
|
|
middle_layout_references_error =
|
|
|
|
the type has an unknown layout
|
|
|
|
|
2022-09-01 09:09:45 -05:00
|
|
|
middle_limit_invalid =
|
|
|
|
`limit` must be a non-negative integer
|
|
|
|
.label = {$error_str}
|
2023-05-22 20:51:25 -05:00
|
|
|
|
2022-08-31 07:16:02 -05:00
|
|
|
middle_opaque_hidden_type_mismatch =
|
|
|
|
concrete type differs from previous defining opaque type use
|
|
|
|
.label = expected `{$self_ty}`, got `{$other_ty}`
|
|
|
|
|
|
|
|
middle_previous_use_here =
|
|
|
|
previous use here
|
2022-09-01 09:09:45 -05:00
|
|
|
|
2023-04-02 05:50:01 -05:00
|
|
|
middle_recursion_limit_reached =
|
|
|
|
reached the recursion limit finding the struct tail for `{$ty}`
|
|
|
|
.help = consider increasing the recursion limit by adding a `#![recursion_limit = "{$suggested_limit}"]`
|
|
|
|
|
2022-10-03 18:34:59 -05:00
|
|
|
middle_requires_lang_item = requires `{$name}` lang_item
|
2023-05-02 11:14:20 -05:00
|
|
|
|
2022-10-30 14:10:35 -05:00
|
|
|
middle_strict_coherence_needs_negative_coherence =
|
|
|
|
to use `strict_coherence` on this trait, the `with_negative_coherence` feature must be enabled
|
|
|
|
.label = due to this attribute
|
2022-11-07 12:47:32 -06:00
|
|
|
|
2024-05-24 13:09:40 -05:00
|
|
|
middle_type_length_limit = reached the type-length limit while instantiating `{$shrunk}`
|
|
|
|
|
2023-05-16 12:23:38 -05:00
|
|
|
middle_unknown_layout =
|
|
|
|
the type `{$ty}` has an unknown layout
|
|
|
|
|
2022-11-07 12:47:32 -06:00
|
|
|
middle_values_too_big =
|
2024-09-20 02:39:10 -05:00
|
|
|
values of the type `{$ty}` are too big for the target architecture
|
2024-05-24 13:09:40 -05:00
|
|
|
middle_written_to_path = the full type name has been written to '{$path}'
|