about summary refs log tree commit diff
path: root/tests/ui/structs
AgeCommit message (Expand)AuthorLines
2025-07-28Rollup merge of #144151 - Kivooeo:issue1, r=jieyouxuMatthias Krüger-0/+21
2025-07-25commentsKivooeo-0/+2
2025-07-25move 28 testsKivooeo-0/+19
2025-07-24Rehome tests/ui/issues/ tests [1/?]Oneirical-0/+28
2025-07-17Add test for `default_field_values` and `const_default`Esteban Küber-0/+37
2025-06-30cleaned up some testsKivooeo-11/+13
2025-06-29moved & deleted some testsKivooeo-0/+23
2025-06-17Reject union default field valuesJieyou Xu-3/+15
2025-06-16Add union with default field values case testJieyou Xu-8/+14
2025-06-07const-eval error: always say in which item the error occurredRalf Jung-1/+1
2025-06-02Clarify why we are talking about a failed const eval at a random placeOli Scherer-4/+4
2025-06-02Use the informative error as the main const eval error messageOli Scherer-11/+11
2025-05-06Preserve generic args in suggestions for ambiguous associated itemsLeón Orell Valerian Liehr-3/+21
2025-04-30compiletest: Make diagnostic kind mandatory on line annotationsVadim Petrochenkov-39/+43
2025-04-08UI tests: add missing diagnostic kinds where possibleVadim Petrochenkov-3/+3
2025-04-08Rollup merge of #139024 - compiler-errors:tweak-default-value-err, r=lcnrStuart Cook-12/+19
2025-04-07Make error message for missing fields with .. and without .. more consistentMichael Goulet-12/+19
2025-03-27Improve suggest construct with literal syntax instead of callingxizheyin-2/+15
2025-03-27Add ui test for struct construction by calling syntaxxizheyin-0/+70
2025-03-14Do not suggest using `-Zmacro-backtrace` for builtin macrosEsteban Küber-3/+0
2025-03-06Rollup merge of #137565 - compiler-errors:macro-ex, r=estebankMichael Goulet-0/+33
2025-03-04Rollup merge of #137913 - compiler-errors:struct-field-default-generic, r=Box...Jubilee-18/+107
2025-03-04Allow struct field default values to reference struct's genericsMichael Goulet-18/+107
2025-03-04Also note struct access, and fix macro expansion from foreign cratesMichael Goulet-0/+33
2025-03-03Do not recover missing lifetime with random in-scope lifetimeMichael Goulet-12/+3
2025-02-28Shorten span of panic failures in const contextEsteban Küber-1/+1
2025-02-21More sophisticated span trimmingMichael Goulet-6/+4
2025-02-18Rollup merge of #135711 - estebank:issue-135649, r=davidtwcoMatthias Krüger-0/+29
2025-02-14Trim suggestion parts to the subset that is purely additiveMichael Goulet-19/+19
2025-02-14Consider add-prefix replacements tooMichael Goulet-54/+36
2025-02-14Use underline suggestions for purely 'additive' replacementsMichael Goulet-3/+2
2025-02-10Show diff suggestion format on verbose replacementEsteban Küber-66/+99
2025-01-27Add `TooGeneric` variant to `LayoutError` and emit `Unknown` oneFedericoBruzzone-1/+1
2025-01-23tests: use `needs-subprocess` instead of `ignore-{wasm32,emscripten,sgx}`许杰友 Jieyou Xu (Joe)-1/+1
2025-01-21Detect missing fields with default values and suggest `..`Esteban Küber-0/+167
2025-01-20Rollup merge of #135700 - estebank:priv-field-dfv, r=wesleywiser许杰友 Jieyou Xu (Joe)-0/+103
2025-01-18Do not ICE on default_field_value const with lifetimesEsteban Küber-0/+29
2025-01-18Disallow `A { .. }` if `A` has no fieldsEsteban Küber-0/+47
2025-01-18Emit a single privacy error for multiple fields on the same struct expressionEsteban Küber-21/+64
2025-01-18Add context on private fields that are not on the same line as the struct nameEsteban Küber-0/+4
2025-01-18Add test for construction of struct with private field with default valueEsteban Küber-0/+56
2025-01-14fix ICE with references to infinite structs in constsLukas Markeffsky-2/+12
2024-12-31Provide structured suggestion for `impl Default` of type where all fields hav...Esteban Küber-1/+4
2024-12-25Implement `default_overrides_default_fields` lintEsteban Küber-0/+338
2024-12-20Restrict `#[non_exaustive]` on structs with default field valuesEsteban Küber-0/+41
2024-12-14Make sure to use normalized ty for unevaluated const for default struct valueMichael Goulet-0/+17
2024-12-14Move default-field-values tests into a subdirectoryMichael Goulet-18/+18
2024-12-10Further document default field testEsteban Küber-7/+12
2024-12-10Excercise const trait interaction with default fieldsEsteban Küber-9/+30
2024-12-09Support x-crate default fieldsEsteban Küber-0/+11