about summary refs log tree commit diff
path: root/tests/ui/consts/const_in_pattern
AgeCommit message (Expand)AuthorLines
2025-05-03compiletest: Do not require annotations on empty labels and suggestionsVadim Petrochenkov-5/+4
2025-04-07compiletest: Avoid ignoring empty diagnostics in one more placeVadim Petrochenkov-4/+5
2025-04-01add tests for array/slice const patternsdianne-0/+137
2025-01-11Avoid unnecessary note when type has escaping boundsEsteban Küber-1/+0
2025-01-11Avoid duplicated noteEsteban Küber-1/+0
2025-01-11Account for `for<'a>` types when checking for non-structural type in constant...Esteban Küber-0/+30
2024-12-04Add more context to fall-through "const pattern of non-structural type" errorEsteban Küber-2/+6
2024-12-04Add context to fall-through "const pattern of non-structural type" errorEsteban Küber-0/+6
2024-12-04Add additional context for non-sructural type constant used in patternEsteban Küber-98/+171
2024-12-04Reword message for non-structural type constant in patternEsteban Küber-4/+4
2024-12-04Tweak output of some const pattern errorsEsteban Küber-2/+2
2024-12-04Tweak ptr in pattern errorEsteban Küber-12/+24
2024-12-04On `const` pattern errors, point at the `const` item definitionEsteban Küber-10/+68
2024-11-17Unify expanded constants and named constants in `PatKind`Esteban Küber-0/+12
2024-07-18const_to_pat: cleanup leftovers from when we had to deal with non-structural ...Ralf Jung-5/+13
2024-06-23Change a fixed crash test to a standard testTrevor Gross-0/+14
2024-05-03turn pointer_structural_match into a hard errorRalf Jung-140/+11
2024-05-03remove IndirectStructuralMatch lint, emit the usual hard error insteadRalf Jung-53/+16
2024-02-25Auto merge of #120393 - Urgau:rfc3373-non-local-defs, r=WaffleLapkinbors-0/+1
2024-02-25make non-PartialEq-typed consts as patterns a hard errorRalf Jung-24/+4
2024-02-17Allow newly added non_local_definitions lint in testsUrgau-0/+1
2024-02-16[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives许杰友 Jieyou Xu (Joe)-13/+13
2024-02-05merge the accepted-structural-match tests into oneRalf Jung-34/+14
2024-02-05update the tracking issue for structural match violationsRalf Jung-15/+15
2024-02-05show indirect_structural_match and pointer_structural_match in future compat ...Ralf Jung-0/+107
2024-02-05get rid of nontrivial_structural_match lint and custom_eq const qualifRalf Jung-99/+4
2024-01-24remove StructuralEq traitRalf Jung-130/+71
2024-01-02Adjust compiler tests for unused_tuple_struct_fields -> dead_codeJake Goulding-2/+2
2023-12-24fix ICE when using raw ptr in a patternRalf Jung-0/+33
2023-11-24Show number in error message even for one errorNilstrieb-4/+4
2023-11-12patterns: don't ice when encountering a raw str sliceRalf Jung-2/+19
2023-10-28also lint against fn ptr and raw ptr nested inside the constRalf Jung-3/+23
2023-10-28patterns: reject raw pointers that are not just integersRalf Jung-4/+50
2023-10-11Prevent spurious `unreachable pattern` lintsOli Scherer-17/+1
2023-10-05Add a note to duplicate diagnosticsAlex Macleod-24/+14
2023-09-25rename lint; add tracking issueRalf Jung-4/+4
2023-09-24work towards rejecting consts in patterns that do not implement PartialEqRalf Jung-1/+25
2023-06-29tests: unset `RUSTC_LOG_COLOR`David Wood-0/+1
2023-04-03Perform match checking on THIR.Camille GILLOT-1/+1
2023-03-27Add notes to non-structural const in pattern error messageJamen Marz-10/+91
2023-01-11Move /src/test to /testsAlbert Larsan-0/+744