]>
Commit | Line | Data |
---|---|---|
49aad941 | 1 | ty_utils_address_and_deref_not_supported = dereferencing or taking the address is not supported in generic constants |
f2b60f7d | 2 | |
49aad941 | 3 | ty_utils_adt_not_supported = struct/enum construction is not supported in generic constants |
f2b60f7d | 4 | |
49aad941 | 5 | ty_utils_array_not_supported = array construction is not supported in generic constants |
f2b60f7d | 6 | |
49aad941 | 7 | ty_utils_assign_not_supported = assignment is not supported in generic constants |
f2b60f7d | 8 | |
49aad941 | 9 | ty_utils_binary_not_supported = unsupported binary operation in generic constants |
f2b60f7d | 10 | |
9c376795 | 11 | ty_utils_block_not_supported = blocks are not supported in generic constants |
f2b60f7d | 12 | |
49aad941 | 13 | ty_utils_borrow_not_supported = borrowing is not supported in generic constants |
f2b60f7d | 14 | |
49aad941 | 15 | ty_utils_box_not_supported = allocations are not allowed in generic constants |
f2b60f7d | 16 | |
49aad941 | 17 | ty_utils_closure_and_return_not_supported = closures and function keywords are not supported in generic constants |
f2b60f7d | 18 | |
9c376795 | 19 | ty_utils_const_block_not_supported = const blocks are not supported in generic constants |
f2b60f7d | 20 | |
49aad941 | 21 | ty_utils_control_flow_not_supported = control flow is not supported in generic constants |
f2b60f7d | 22 | |
49aad941 | 23 | ty_utils_field_not_supported = field access is not supported in generic constants |
f2b60f7d | 24 | |
49aad941 FG |
25 | ty_utils_generic_constant_too_complex = overly complex generic constant |
26 | .help = consider moving this anonymous constant into a `const` function | |
27 | .maybe_supported = this operation may be supported in the future | |
f2b60f7d | 28 | |
49aad941 FG |
29 | ty_utils_impl_trait_duplicate_arg = non-defining opaque type use in defining scope |
30 | .label = generic argument `{$arg}` used twice | |
31 | .note = for this opaque type | |
f2b60f7d | 32 | |
49aad941 FG |
33 | ty_utils_impl_trait_not_param = non-defining opaque type use in defining scope |
34 | .label = argument `{$arg}` is not a generic parameter | |
35 | .note = for this opaque type | |
f2b60f7d | 36 | |
49aad941 FG |
37 | ty_utils_index_not_supported = indexing is not supported in generic constants |
38 | ||
39 | ty_utils_inline_asm_not_supported = assembly is not supported in generic constants | |
f2b60f7d FG |
40 | |
41 | ty_utils_logical_op_not_supported = unsupported operation in generic constants, short-circuiting operations would imply control flow | |
42 | ||
49aad941 | 43 | ty_utils_loop_not_supported = loops and loop control flow are not supported in generic constants |
f2b60f7d | 44 | |
49aad941 | 45 | ty_utils_multiple_array_fields_simd_type = monomorphising SIMD type `{$ty}` with more than one array field |
f2b60f7d | 46 | |
49aad941 | 47 | ty_utils_needs_drop_overflow = overflow while checking whether `{$query_ty}` requires drop |
f2b60f7d | 48 | |
49aad941 FG |
49 | ty_utils_never_to_any_not_supported = coercing the `never` type is not supported in generic constants |
50 | ||
51 | ty_utils_non_primitive_simd_type = monomorphising SIMD type `{$ty}` with a non-primitive-scalar (integer/float/pointer) element type `{$e_ty}` | |
f2b60f7d | 52 | |
9c376795 | 53 | ty_utils_operation_not_supported = unsupported operation in generic constants |
353b0b11 | 54 | |
49aad941 | 55 | ty_utils_oversized_simd_type = monomorphising SIMD type `{$ty}` of length greater than {$max_lanes} |
353b0b11 | 56 | |
49aad941 | 57 | ty_utils_pointer_not_supported = pointer casts are not allowed in generic constants |
353b0b11 | 58 | |
49aad941 | 59 | ty_utils_tuple_not_supported = tuple construction is not supported in generic constants |
353b0b11 | 60 | |
49aad941 | 61 | ty_utils_unexpected_fnptr_associated_item = `FnPtr` trait with unexpected associated item |
353b0b11 | 62 | |
49aad941 FG |
63 | ty_utils_yield_not_supported = generator control flow is not allowed in generic constants |
64 | ||
65 | ty_utils_zero_length_simd_type = monomorphising SIMD type `{$ty}` of zero length |