Aleksey Kladov
|
a022ad68c9
|
internal: move all the lexing to the parser crate
|
2021-12-18 17:20:38 +03:00 |
|
Lukas Wirth
|
c81aa68afe
|
Don't show trait flyimports for impl trait and placeholders
|
2021-12-10 19:18:21 +01:00 |
|
Yoshua Wuyts
|
e346d32e69
|
fix Ordering::Equal path
|
2021-10-18 14:45:24 +02:00 |
|
Yoshua Wuyts
|
41fd824415
|
Revert "Simplify generated PartialOrd code"
This reverts commit 601ed3a10d .
|
2021-10-18 14:41:38 +02:00 |
|
Yoshua Wuyts
|
a9ec345cf7
|
Fix PartialOrd codegen
|
2021-10-18 12:44:05 +02:00 |
|
Yoshua Wuyts
|
601ed3a10d
|
Simplify generated PartialOrd code
|
2021-10-12 17:44:57 +02:00 |
|
Yoshua Wuyts
|
5f72bd81a9
|
impl PartialOrd codegen for tuple enum
|
2021-10-12 17:05:59 +02:00 |
|
Yoshua Wuyts
|
77b5fe6c52
|
impl PartialOrd codegen for record enum
|
2021-10-12 17:05:59 +02:00 |
|
Yoshua Wuyts
|
95eff43cc1
|
impl PartialOrd codegen for C-style enums
|
2021-10-12 17:05:58 +02:00 |
|
Yoshua Wuyts
|
c0263fb07a
|
impl PartialOrd codegen for struct records
|
2021-10-12 17:05:58 +02:00 |
|
Yoshua Wuyts
|
6941fdc49f
|
impl PartialOrd codegen for tuple records
|
2021-10-12 17:05:58 +02:00 |
|
Yoshua Wuyts
|
bc6aee51b0
|
init partialord
|
2021-10-12 17:05:58 +02:00 |
|
Aramis Razzaghipour
|
9583dd5725
|
Replace if let with match where appropriate
|
2021-10-05 09:00:21 +11:00 |
|
Lukas Wirth
|
b6ed91a6de
|
Rename *Owner traits to Has*
|
2021-09-27 12:54:24 +02:00 |
|
Aleksey Kladov
|
d72f7cf3af
|
internal: add => () rule; emphasize n_items rule
|
2021-09-25 14:10:25 +03:00 |
|
Yoshua Wuyts
|
067dc660ae
|
implement feedback from review
|
2021-08-16 18:23:51 +02:00 |
|
Yoshua Wuyts
|
9374d526da
|
fix debug tuple structs
|
2021-08-16 17:39:08 +02:00 |
|
Yoshua Wuyts
|
b67378f53e
|
fix debug record structs
|
2021-08-16 12:58:06 +02:00 |
|
Aleksey Kladov
|
90357a9090
|
internal: merge hir::BinaryOp and ast::BinOp
|
2021-08-14 18:10:01 +03:00 |
|
Aleksey Kladov
|
6df00f8495
|
internal: make naming consistent
|
2021-08-14 17:01:28 +03:00 |
|
Yoshua Wuyts
|
97ec6a27ec
|
add make::ext::path_from_idents
|
2021-08-12 12:17:09 +02:00 |
|
Yoshua Wuyts
|
df19895ba6
|
implement feedback from review
|
2021-08-12 11:50:01 +02:00 |
|
Yoshua Wuyts
|
8ed24029c1
|
rm remaining todo comment
|
2021-08-11 23:30:00 +02:00 |
|
Yoshua Wuyts
|
2fff019b6b
|
improve codegen
|
2021-08-11 20:33:13 +02:00 |
|
Yoshua Wuyts
|
6c4a94b03a
|
finishing touches
|
2021-08-11 20:04:05 +02:00 |
|
Yoshua Wuyts
|
c4e10c81b9
|
gen partialeq for tuple enums
|
2021-08-11 20:01:19 +02:00 |
|
Yoshua Wuyts
|
741e27b414
|
dedup PartialEq for Record enums
|
2021-08-11 19:40:47 +02:00 |
|
Yoshua Wuyts
|
fc17eb482d
|
gen PartialEq for Record enums
Co-Authored-By: Ryan Levick <rylev@users.noreply.github.com>
|
2021-08-11 17:15:12 +02:00 |
|
Yoshua Wuyts
|
1cf7af7032
|
wip enum record/tuple generation
|
2021-08-10 22:08:14 +02:00 |
|
Yoshua Wuyts
|
65ce87cad8
|
gen PartialEq for basic enums
|
2021-08-10 21:05:23 +02:00 |
|
Yoshua Wuyts
|
f8a64c044a
|
gen PartialEq for structs
|
2021-08-10 19:49:06 +02:00 |
|
Yoshua Wuyts
|
2f866974d9
|
gen clone for tuple enums
|
2021-08-10 15:07:13 +02:00 |
|
Yoshua Wuyts
|
e0adb39de3
|
gen clone for record enums
|
2021-08-10 14:43:20 +02:00 |
|
Yoshua Wuyts
|
7ddc26aea1
|
add clone generation for structs and bare enums
|
2021-08-10 13:55:26 +02:00 |
|
Yoshua Wuyts
|
4b5139e8a5
|
impl gen hash for structs
|
2021-08-10 12:37:10 +02:00 |
|
Yoshua Wuyts
|
ec2535e9ce
|
impl gen hash for enums
|
2021-08-10 12:37:10 +02:00 |
|
Yoshua Wuyts
|
326890753c
|
implement feedback from review
|
2021-08-10 12:21:48 +02:00 |
|
Yoshua Wuyts
|
d6b788a9ee
|
Add trait codegen to add_missing_impl_members assist
|
2021-08-10 10:27:52 +02:00 |
|
Yoshua Wuyts
|
4d2e25a034
|
move trait body gen code to utils
|
2021-08-09 21:47:44 +02:00 |
|
Lukas Wirth
|
b96f1adf5c
|
Give TypeInfo fields and methods more appropriate names
|
2021-08-03 17:28:51 +02:00 |
|
Lukas Wirth
|
8afa2722b2
|
Revise TypeInfo::ty usage
|
2021-08-03 17:24:43 +02:00 |
|
Lukas Wirth
|
25ff7171c4
|
Introduce TypeInfo
|
2021-08-03 16:41:53 +02:00 |
|
Maan2003
|
c9b4ac5be4
|
clippy::redudant_borrow
|
2021-06-13 09:24:16 +05:30 |
|
Aleksey Kladov
|
984d20aad8
|
cleanups
|
2021-05-09 18:01:54 +03:00 |
|
Aleksey Kladov
|
d9c9f6dc2c
|
cleanups
|
2021-05-09 17:58:03 +03:00 |
|
Aleksey Kladov
|
1a01a5ae19
|
internal: fix naming polarity
Type Constructors have *parameters*, when they are substituted with type
*arguments*, we have a type.
|
2021-04-30 11:55:59 +03:00 |
|
Aleksey Kladov
|
8471da62e6
|
Compress tests
|
2021-03-02 18:35:52 +03:00 |
|
Vladyslav Katasonov
|
7066e6b362
|
strip useless methods, and unary ops in suggest_name
|
2021-03-02 16:25:24 +03:00 |
|
Vladyslav Katasonov
|
afc68277f6
|
pull out suggest_name::* to utils; enchance heuristics
|
2021-03-02 16:25:22 +03:00 |
|