Matthias Krüger
|
b22bd36f6e
|
remove more redundant clones manually
|
2024-01-07 00:26:49 +01:00 |
|
Matthias Krüger
|
476e10e961
|
remove redundant clones
|
2024-01-07 00:17:48 +01:00 |
|
hkalbasi
|
4f722165b6
|
Fix false positive type mismatch in const reference patterns
|
2023-12-15 19:09:07 +03:30 |
|
hkalbasi
|
8b82ea4f51
|
Store binding mode for each instance independently
|
2023-10-22 23:35:33 +03:30 |
|
Lukas Wirth
|
8f5fee4a5a
|
Diagnose incorrect and private fields in record structs
|
2023-09-09 10:45:29 +02:00 |
|
Lukas Wirth
|
8654a098c7
|
Diagnose mismatched arg count for tuple struct patterns
|
2023-09-08 14:54:43 +02:00 |
|
hkalbasi
|
3a1054fc1c
|
Replace x with it
|
2023-07-06 17:33:17 +03:30 |
|
Ryo Yoshida
|
4e793e7859
|
Use anonymous lifetime where possible
|
2023-06-29 23:27:28 +09:00 |
|
hkalbasi
|
51368793b4
|
MIR episode 6
|
2023-05-28 23:25:15 +03:30 |
|
Ryo Yoshida
|
01f42d2405
|
fix: introduce new type var when expectation for ref pat is not ref
|
2023-05-22 23:13:41 +09:00 |
|
hkalbasi
|
c5ea2d7adc
|
handle match scrutinee in closure captures
|
2023-05-19 12:04:12 +03:30 |
|
bors
|
9ce95674e8
|
Auto merge of #14837 - Veykril:rustc-lexer, r=Veykril
Support c string literals
|
2023-05-18 11:55:38 +00:00 |
|
Lukas Wirth
|
4b577e2bc8
|
Support c string literals
|
2023-05-18 11:06:05 +02:00 |
|
hkalbasi
|
cbcafd3539
|
MIR episode 5
|
2023-05-12 18:17:15 +03:30 |
|
hkalbasi
|
36c9d5ce17
|
Fix pattern type mismatch in tuples
|
2023-05-04 16:03:36 +03:30 |
|
Lukas Wirth
|
99b69525f4
|
hir_def::expr -> hir_def::hir, hir_def::type_ref -> hir_def::hir::type_ref
|
2023-04-06 19:36:25 +02:00 |
|
hkalbasi
|
d7da9e64d1
|
Add storage dead for let bindings without initializer
|
2023-03-14 12:15:16 +03:30 |
|
hkalbasi
|
af90ec8096
|
Partially support "overloaded deref" MIR lowering
|
2023-03-06 21:09:09 +03:30 |
|
hkalbasi
|
61ad6a96ad
|
Add BindingId
|
2023-03-06 21:09:08 +03:30 |
|
Lukas Wirth
|
a8606e5363
|
Re-use the resolver in InferenceContext instead of rebuilding it on every expression change
|
2023-03-05 14:37:44 +01:00 |
|
Lukas Wirth
|
522823f610
|
Fix text fixtures of missing_match_arms diagnostics
|
2023-03-03 11:13:06 +01:00 |
|
Lukas Wirth
|
44e2c6ea92
|
Don't emit two type mismatches for literal pattern mismatches
|
2023-03-03 10:42:49 +01:00 |
|
Lukas Wirth
|
ec273c3d12
|
Split pattern inference into more functions
|
2023-03-03 10:42:46 +01:00 |
|
Lukas Wirth
|
fc2b395e00
|
Show pattern mismatch diagnostics
|
2023-03-03 10:41:44 +01:00 |
|
hkalbasi
|
cd67589f63
|
beginning of MIR
|
2023-02-27 23:45:54 +03:30 |
|
Daniel Eades
|
efd2c20e96
|
remove useless conversions
|
2023-01-02 15:02:54 +00:00 |
|
Daniel Eades
|
ed128872eb
|
remove needless borrows
|
2023-01-02 14:52:32 +00:00 |
|
Ryo Yoshida
|
ffc6b42901
|
fix: infer byte string pattern as &[u8] when matched against slices
|
2022-08-10 19:17:13 +09:00 |
|
Artur Sinila
|
83177a7cfe
|
fix: address suggestions
|
2022-07-17 18:22:11 +03:00 |
|
Artur Sinila
|
a96f0aa7cd
|
feat: support negative const generic parameters
* feat: support `bool` & `char` const generics
|
2022-07-17 04:18:53 +03:00 |
|
Ryo Yoshida
|
62d6b5a594
|
Generalize some inference functions for patterns
|
2022-06-01 01:22:11 +09:00 |
|
Ryo Yoshida
|
be2fa2b31b
|
fix overflow during tuple struct type inference
|
2022-05-29 16:22:33 +09:00 |
|
Roland Ruckerbauer
|
86bb27f1a4
|
Fix inference when pattern matching a tuple field with a wildcard.
|
2022-05-23 12:24:54 +02:00 |
|
Lukas Wirth
|
6b696fced8
|
feat: Add binding mode inlay hints
|
2022-05-14 14:58:35 +02:00 |
|
Peh
|
1f011fa4a3
|
style: rename crates to kebab case
|
2022-05-01 10:48:58 +00:00 |
|