about summary refs log tree commit diff
path: root/tests/ui/enum-discriminant
AgeCommit message (Collapse)AuthorLines
2025-01-27Add `TooGeneric` variant to `LayoutError` and emit `Unknown` oneFedericoBruzzone-4/+10
- `check-pass` test for a MRE of #135020 - fail test for #135138 - switch to `TooGeneric` for checking CMSE fn signatures - switch to `TooGeneric` for compute `SizeSkeleton` (for transmute) - fix broken tests
2025-01-14Consider more erroneous layouts as LayoutError::ReferencesError to suppress ↵Michael Goulet-0/+88
spurious errors
2024-12-09fix ICE on type error in promotedRalf Jung-6/+0
2024-12-01fix ICE when promoted has layout size overflowRalf Jung-0/+6
2024-11-30add tests for niches in pointersThe 8472-0/+38
2024-08-10Update testsNadrieril-0/+2
2024-02-16[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives许杰友 Jieyou Xu (Joe)-23/+23
2024-02-01Improve the diagnostics for unused generic parametersLeón Orell Valerian Liehr-3/+3
2024-01-23Remove track_errors entirelyOli Scherer-3/+19
2024-01-02Adjust compiler tests for unused_tuple_struct_fields -> dead_codeJake Goulding-3/+3
2023-11-24Show number in error message even for one errorNilstrieb-6/+6
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-06-08Move tests from `ui/discrim` dirMaybe Waffle-0/+518
2023-05-29Address commentCaio-73/+0
2023-05-24Address commentsCaio-0/+73
2023-05-24Move testsCaio-0/+9
2023-05-15Suppress "erroneous constant used" for constants tainted by errorsTomasz Miąsko-7/+0
When constant evaluation fails because its MIR is tainted by errors, suppress note indicating that erroneous constant was used, since those errors have to be fixed regardless of the constant being used or not.
2023-05-13Encode VariantIdx so we can decode variants in the right orderMichael Goulet-0/+18
2023-05-05improve diagnostics and bless testsBoxy-11/+8
2023-04-20Move test filesCaio-0/+52
2023-04-14Fortify tests againts mir-opts.Camille GILLOT-10/+77
2023-01-11Move /src/test to /testsAlbert Larsan-0/+882