about summary refs log tree commit diff
path: root/tests/ui/structs
AgeCommit message (Expand)AuthorLines
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-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
2024-12-09Unconditionally error at definition if default field value has const errorsEsteban Küber-41/+10
2024-12-09Disallow `#[default] Variant {}` regardless of feature flagEsteban Küber-8/+22
2024-12-09review comments: rewordingsEsteban Küber-2/+2
2024-12-09Provide diagnostic for `Struct(a, .., z)` expressionEsteban Küber-2/+73
2024-12-09Detect `struct S(ty = val);`Esteban Küber-2/+10
2024-12-09Introduce `default_field_values` featureEsteban Küber-0/+221
2024-11-26tests: remove `//@ pretty-expanded` usages许杰友 Jieyou Xu (Joe)-1/+0
2024-10-24add third help hint to diagnostic error E0027Duncan Proctor-0/+28
2024-08-05Test more cases of WF-checking for fieldsNoah Lev-10/+151
2024-08-05WF-check struct field types at construction siteNoah Lev-1/+22
2024-08-05Add test for WF check of implied unsizing in struct fieldsNoah Lev-0/+33
2024-07-22Revert suggestion verbosity changeEsteban Küber-24/+12
2024-07-22Change suggestion message wordingEsteban Küber-4/+4
2024-07-22Use verbose suggestion for "wrong # of generics"Esteban Küber-12/+24
2024-07-12Make parse error suggestions verbose and fix spansEsteban Küber-6/+19
2024-07-04Use shorter span for float literal suggestionEsteban Küber-32/+48
2024-05-01Handle normalization failure in `struct_tail_erasing_lifetimes`Gurinder Singh-0/+36
2024-02-16[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives许杰友 Jieyou Xu (Joe)-14/+14
2023-11-24Show number in error message even for one errorNilstrieb-17/+17
2023-11-19Rollup merge of #117110 - estebank:deref-field-suggestion, r=b-naberTakayuki Maeda-7/+42
2023-11-18tweak logic of "unknown field" labelEsteban Küber-5/+30
2023-11-16recover primary span labelEsteban Küber-2/+2
2023-11-16Suggest `unwrap()` on field not found for `Result`/`Option`Esteban Küber-2/+12
2023-11-16Suggest replacing `Self` with the right type on type errorEsteban Küber-0/+4
2023-11-16Point at impl self ty on type error involving `Self`Esteban Küber-1/+3
2023-11-10Recurse over the method chain and maintain a stack to peek at previous receiv...Swapna Iyer-0/+46
2023-10-17Unify suggestion wordingEsteban Küber-3/+3
2023-06-22Tweak privacy errors to account for reachable itemsEsteban Küber-2/+6
2023-06-05Don't mention already set fieldsMichael Goulet-3/+3
2023-04-12Tweak output for 'add line' suggestionEsteban Küber-1/+2
2023-03-30better diagnostics for pattern matching tuple structsMaciej Wasilewski-2/+21
2023-02-23diagnostics: remove inconsistent English article "this" from E0107Michael Howell-8/+8
2023-01-30Modify primary span label for E0308Esteban Küber-9/+9