|
1 |
| -parser-struct-literal-body-without-path = struct literal body without path |
| 1 | +parser-struct-literal-body-without-path = |
| 2 | + struct literal body without path |
2 | 3 | .suggestion = you might have forgotten to add the struct literal inside the block
|
| 4 | +
|
| 5 | +typeck-field-multiply-specified-in-initializer = |
| 6 | + field `{$ident}` specified more than once |
| 7 | + .label = used more than once |
| 8 | + .previous-use-label = first use of `{$ident}` |
| 9 | +
|
| 10 | +typeck-unrecognized-atomic-operation = |
| 11 | + unrecognized atomic operation function: `{$op}` |
| 12 | + .label = unrecognized atomic operation |
| 13 | +
|
| 14 | +typeck-wrong-number-of-generic-arguments-to-intrinsic = |
| 15 | + intrinsic has wrong number of {$descr} parameters: found {$found}, expected {$expected} |
| 16 | + .label = expected {$expected} {$descr} {$expected -> |
| 17 | + [one] parameter |
| 18 | + *[other] parameters |
| 19 | + } |
| 20 | +
|
| 21 | +typeck-unrecognized-intrinsic-function = |
| 22 | + unrecognized intrinsic function: `{$name}` |
| 23 | + .label = unrecognized intrinsic |
| 24 | +
|
| 25 | +typeck-lifetimes-or-bounds-mismatch-on-trait = |
| 26 | + lifetime parameters or bounds on {$item_kind} `{$ident}` do not match the trait declaration |
| 27 | + .label = lifetimes do not match {$item_kind} in trait |
| 28 | + .generics-label = lifetimes in impl do not match this {$item_kind} in trait |
| 29 | +
|
| 30 | +typeck-drop-impl-on-wrong-item = |
| 31 | + the `Drop` trait may only be implemented for structs, enums, and unions |
| 32 | + .label = must be a struct, enum, or union |
| 33 | +
|
| 34 | +typeck-field-already-declared = |
| 35 | + field `{$field_name}` is already declared |
| 36 | + .label = field already declared |
| 37 | + .previous-decl-label = `{$field_name}` first declared here |
| 38 | +
|
| 39 | +typeck-copy-impl-on-type-with-dtor = |
| 40 | + the trait `Copy` may not be implemented for this type; the type has a destructor |
| 41 | + .label = `Copy` not allowed on types with destructors |
| 42 | +
|
| 43 | +typeck-multiple-relaxed-default-bounds = |
| 44 | + type parameter has more than one relaxed default bound, only one is supported |
| 45 | +
|
| 46 | +typeck-copy-impl-on-non-adt = |
| 47 | + the trait `Copy` may not be implemented for this type |
| 48 | + .label = type is not a structure or enumeration |
| 49 | +
|
| 50 | +typeck-trait-object-declared-with-no-traits = |
| 51 | + at least one trait is required for an object type |
| 52 | +
|
| 53 | +typeck-ambiguous-lifetime-bound = |
| 54 | + ambiguous lifetime bound, explicit lifetime bound required |
| 55 | +
|
| 56 | +typeck-assoc-type-binding-not-allowed = |
| 57 | + associated type bindings are not allowed here |
| 58 | + .label = associated type not allowed here |
| 59 | +
|
| 60 | +typeck-functional-record-update-on-non-struct = |
| 61 | + functional record update syntax requires a struct |
| 62 | +
|
| 63 | +typeck-typeof-reserved-keyword-used = |
| 64 | + `typeof` is a reserved keyword but unimplemented |
| 65 | + .label = reserved keyword |
| 66 | +
|
| 67 | +typeck-return-stmt-outside-of-fn-body = |
| 68 | + return statement outside of function body |
| 69 | + .encl-body-label = the return is part of this body... |
| 70 | + .encl-fn-label = ...not the enclosing function body |
| 71 | +
|
| 72 | +typeck-yield-expr-outside-of-generator = |
| 73 | + yield expression outside of generator literal |
| 74 | +
|
| 75 | +typeck-struct-expr-non-exhaustive = |
| 76 | + cannot create non-exhaustive {$what} using struct expression |
| 77 | +
|
| 78 | +typeck-method-call-on-unknown-type = |
| 79 | + the type of this value must be known to call a method on a raw pointer on it |
| 80 | +
|
| 81 | +typeck-value-of-associated-struct-already-specified = |
| 82 | + the value of the associated type `{$item_name}` (from trait `{$def_path}`) is already specified |
| 83 | + .label = re-bound here |
| 84 | + .previous-bound-label = `{$item_name}` bound here first |
| 85 | +
|
| 86 | +typeck-address-of-temporary-taken = cannot take address of a temporary |
| 87 | + .label = temporary value |
0 commit comments