darkmmon 902c0ed5ff
DeriveDisplay macro for enum (#1726)
* WIP

* WIP

* WIP

* changed from storing ident to storing TokenStream internally

* Push for code sharing

* fmt

* changing test target to string

* updated Display not showing extra single quote, fixed clippy

* removed DeriveDisplay for test case not using display trait

* added test cases for display_value attribute

* Remove useless clone

* Add comment

* Remove useless clone

* Rename method

* Refactoring

---------

Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
2023-07-10 11:51:19 +08:00
..
2023-01-31 16:46:44 +08:00
2023-04-26 18:28:53 +08:00
2023-04-26 18:28:53 +08:00
2023-06-21 23:14:57 +08:00
2022-06-21 11:12:28 +08:00
2023-04-26 18:28:53 +08:00
2021-12-26 00:13:56 +08:00
2023-03-09 12:26:27 +08:00
2022-09-15 16:44:31 +08:00
2023-06-21 23:14:57 +08:00
2023-01-31 15:52:57 +08:00
2023-07-10 10:48:20 +08:00