index
:
rust
this commit
auto
automation/bors/try
automation/bors/try-merge
beta
cargo_update
lcnr/rustc-dev-guide
master
perf-tmp
stable
try
try-perf
https://github.com/rust-lang/rust
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
tests
/
ui
/
rfcs
/
rfc-1445-restrict-constants-in-patterns
Age
Commit message (
Expand
)
Author
Lines
2025-03-30
Remove attribute `#[rustc_error]`
Vadim Petrochenkov
-13
/
+3
2024-12-04
Add more context to fall-through "const pattern of non-structural type" error
Esteban Küber
-1
/
+3
2024-12-04
Add context to fall-through "const pattern of non-structural type" error
Esteban Küber
-0
/
+3
2024-12-04
Add additional context for non-sructural type constant used in pattern
Esteban Küber
-48
/
+112
2024-12-04
Reword message for non-structural type constant in pattern
Esteban Küber
-3
/
+2
2024-12-04
Tweak output of some const pattern errors
Esteban Küber
-8
/
+8
2024-12-04
Tweak ptr in pattern error
Esteban Küber
-24
/
+48
2024-12-04
On `const` pattern errors, point at the `const` item definition
Esteban Küber
-0
/
+87
2024-11-03
use backticks instead of single quotes when reporting "use of unstable librar...
dianne
-2
/
+2
2024-07-18
const_to_pat: cleanup leftovers from when we had to deal with non-structural ...
Ralf Jung
-39
/
+6
2024-05-26
Auto merge of #124661 - RalfJung:only-structural-consts-in-patterns, r=pnkfelix
bors
-565
/
+105
2024-05-03
turn pointer_structural_match into a hard error
Ralf Jung
-385
/
+81
2024-05-03
remove IndirectStructuralMatch lint, emit the usual hard error instead
Ralf Jung
-180
/
+24
2024-05-02
Stabilize exclusive_range
Ross Smyth
-12
/
+11
2024-02-16
[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives
许杰友 Jieyou Xu (Joe)
-17
/
+17
2024-02-05
update the tracking issue for structural match violations
Ralf Jung
-36
/
+36
2024-02-05
show indirect_structural_match and pointer_structural_match in future compat ...
Ralf Jung
-0
/
+242
2024-02-05
get rid of nontrivial_structural_match lint and custom_eq const qualif
Ralf Jung
-2
/
+2
2024-01-26
add test checking behavior of matching on floats, and NaNs in consts
Ralf Jung
-11
/
+30
2024-01-26
remove illegal_floating_point_literal_pattern lint
Ralf Jung
-11
/
+10
2024-01-26
make matching on NaN a hard error
Ralf Jung
-46
/
+114
2024-01-24
remove StructuralEq trait
Ralf Jung
-117
/
+31
2024-01-13
Bless tests
George-lewis
-0
/
+2
2024-01-02
Adjust compiler tests for unused_tuple_struct_fields -> dead_code
Jake Goulding
-9
/
+9
2023-11-24
Show number in error message even for one error
Nilstrieb
-7
/
+7
2023-10-28
make pointer_structural_match warn-by-default
Ralf Jung
-10
/
+113
2023-10-28
also lint against fn ptr and raw ptr nested inside the const
Ralf Jung
-3
/
+19
2023-10-28
patterns: reject raw pointers that are not just integers
Ralf Jung
-2
/
+2
2023-06-05
Better group RFC ui tests together
Maybe Waffle
-0
/
+1048