Files

15 lines
3.1 KiB
Plaintext
Raw Permalink Normal View History

2026-10-26 10:14:11 -05:00
--- exit 2
tests/programs/pack_fields_report_mistakes_1.sakura:11:34: not_type: Only a variadic parameter or a struct's field holds a pack, written `Ts...`, as `items: Ts...`: a pack's values are reached with `for const` or `args[i]`, and passed on with `...`.
tests/programs/pack_fields_report_mistakes_1.sakura:12:27: not_type: `...` follows the type of a field only where it names a pack, as `items: Ts...`, which holds a value of each of its types.
tests/programs/pack_fields_report_mistakes_1.sakura:13:38: not_type: A pack is the type only of a variadic parameter or a struct's field, written `Ts...`, as `args: Ts...`, and is passed on with `...`.
tests/programs/pack_fields_report_mistakes_1.sakura:14:46: invalid: A field holding a pack takes no default: it is given a pack whole, or is zeroed.
tests/programs/pack_fields_report_mistakes_1.sakura:19:31: assignable: This cannot be written: it is a `val` or a constant, or reached through `&` rather than `&mut`.
tests/programs/pack_fields_report_mistakes_1.sakura:22:95: mismatch: Expected `(int, bool)`, but the value is `(bool, int)`.
tests/programs/pack_fields_report_mistakes_1.sakura:25:10: not_type: A pack is the type only of a variadic parameter or a struct's field, written `Ts...`, as `args: Ts...`, and is passed on with `...`.
tests/programs/pack_fields_report_mistakes_1.sakura:26:12: not_type: Only a variadic parameter or a struct's field holds a pack, written `Ts...`, as `items: Ts...`: a pack's values are reached with `for const` or `args[i]`, and passed on with `...`.
tests/programs/pack_fields_report_mistakes_1.sakura:30:14: not_type: Only a variadic parameter or a struct's field holds a pack, written `Ts...`, as `items: Ts...`: a pack's values are reached with `for const` or `args[i]`, and passed on with `...`.
tests/programs/pack_fields_report_mistakes_1.sakura:25:10: not_type: A pack is the type only of a variadic parameter or a struct's field, written `Ts...`, as `args: Ts...`, and is passed on with `...`. (In `f<int, int>`, made at tests/programs/pack_fields_report_mistakes_1.sakura:31:3)
tests/programs/pack_fields_report_mistakes_1.sakura:26:12: not_type: Only a variadic parameter or a struct's field holds a pack, written `Ts...`, as `items: Ts...`: a pack's values are reached with `for const` or `args[i]`, and passed on with `...`. (In `f<int, int>`, made at tests/programs/pack_fields_report_mistakes_1.sakura:31:3)
tests/programs/pack_fields_report_mistakes_1.sakura:17:59: owned: `(noisy, noisy)` holds what is closed where its scope ends, which is moved out of the pack, leaving it empty, so the pack is one that can be written: a `var`'s field, or one reached through `&mut`. (In `spread_out<noisy, noisy>`, made at tests/programs/pack_fields_report_mistakes_1.sakura:32:5)
tests/programs/pack_fields_report_mistakes_1.sakura:21:89: owned: `(noisy, noisy)` holds what is closed where its scope ends, which is moved out of the pack, leaving it empty, so the pack is one that can be written: a `var`'s field, or one reached through `&mut`. (In `copied<noisy, noisy>`, made at tests/programs/pack_fields_report_mistakes_1.sakura:33:7)