Michael Goulet
|
eebb2abe0b
|
Yeet some lifetimes
|
2023-12-26 01:59:18 +00:00 |
|
Nadrieril
|
5fccaee59c
|
Clarify the situation with dummy patterns and PatData
Use an explicit `Option` instead of requiring a `Default` bound
|
2023-12-23 00:08:38 +01:00 |
|
Nadrieril
|
c6aa16c469
|
Use derivative for better derive bounds
|
2023-12-23 00:04:20 +01:00 |
|
Nadrieril
|
3016c29628
|
s/MatchCx/TypeCx/
|
2023-12-15 17:26:19 +01:00 |
|
Nadrieril
|
4bcf66f875
|
Introduce MatchCtxt
|
2023-12-15 16:58:38 +01:00 |
|
Nadrieril
|
60ea14bfaa
|
s/PatCtxt/PlaceCtxt/
|
2023-12-15 16:58:38 +01:00 |
|
Nadrieril
|
1e89a38423
|
pattern_analysis doesn't need to know what spans are
|
2023-12-15 16:58:38 +01:00 |
|
Nadrieril
|
e646c9f723
|
Make the rustc_data_structures dependency optional
|
2023-12-15 16:58:38 +01:00 |
|
Nadrieril
|
3d7c4df326
|
Abstract MatchCheckCtxt into a trait
|
2023-12-15 16:58:36 +01:00 |
|
Nadrieril
|
3ad76f9325
|
Disentangle the arena from MatchCheckCtxt
|
2023-12-15 16:57:36 +01:00 |
|
Nadrieril
|
081c3dcf43
|
Remove all matching on ty.kind() outside cx
|
2023-12-15 16:57:36 +01:00 |
|
Nadrieril
|
5d6c539c2d
|
Fix item visibilities
|
2023-12-11 11:20:55 +01:00 |
|
Nadrieril
|
3691a0aee5
|
Gather rustc-specific functions around MatchCheckCtxt
|
2023-12-11 11:20:55 +01:00 |
|
Nadrieril
|
281002d42c
|
Extract exhaustiveness into its own crate
|
2023-12-11 11:20:55 +01:00 |
|