about summary refs log tree commit diff
path: root/tests/ui/rfcs/rfc-1445-restrict-constants-in-patterns
AgeCommit message (Expand)AuthorLines
2025-03-30Remove attribute `#[rustc_error]`Vadim Petrochenkov-13/+3
2024-12-04Add more context to fall-through "const pattern of non-structural type" errorEsteban Küber-1/+3
2024-12-04Add context to fall-through "const pattern of non-structural type" errorEsteban Küber-0/+3
2024-12-04Add additional context for non-sructural type constant used in patternEsteban Küber-48/+112
2024-12-04Reword message for non-structural type constant in patternEsteban Küber-3/+2
2024-12-04Tweak output of some const pattern errorsEsteban Küber-8/+8
2024-12-04Tweak ptr in pattern errorEsteban Küber-24/+48
2024-12-04On `const` pattern errors, point at the `const` item definitionEsteban Küber-0/+87
2024-11-03use backticks instead of single quotes when reporting "use of unstable librar...dianne-2/+2
2024-07-18const_to_pat: cleanup leftovers from when we had to deal with non-structural ...Ralf Jung-39/+6
2024-05-26Auto merge of #124661 - RalfJung:only-structural-consts-in-patterns, r=pnkfelixbors-565/+105
2024-05-03turn pointer_structural_match into a hard errorRalf Jung-385/+81
2024-05-03remove IndirectStructuralMatch lint, emit the usual hard error insteadRalf Jung-180/+24
2024-05-02Stabilize exclusive_rangeRoss Smyth-12/+11
2024-02-16[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives许杰友 Jieyou Xu (Joe)-17/+17
2024-02-05update the tracking issue for structural match violationsRalf Jung-36/+36
2024-02-05show indirect_structural_match and pointer_structural_match in future compat ...Ralf Jung-0/+242
2024-02-05get rid of nontrivial_structural_match lint and custom_eq const qualifRalf Jung-2/+2
2024-01-26add test checking behavior of matching on floats, and NaNs in constsRalf Jung-11/+30
2024-01-26remove illegal_floating_point_literal_pattern lintRalf Jung-11/+10
2024-01-26make matching on NaN a hard errorRalf Jung-46/+114
2024-01-24remove StructuralEq traitRalf Jung-117/+31
2024-01-13Bless testsGeorge-lewis-0/+2
2024-01-02Adjust compiler tests for unused_tuple_struct_fields -> dead_codeJake Goulding-9/+9
2023-11-24Show number in error message even for one errorNilstrieb-7/+7
2023-10-28make pointer_structural_match warn-by-defaultRalf Jung-10/+113
2023-10-28also lint against fn ptr and raw ptr nested inside the constRalf Jung-3/+19
2023-10-28patterns: reject raw pointers that are not just integersRalf Jung-2/+2
2023-06-05Better group RFC ui tests togetherMaybe Waffle-0/+1048