Ayaz Hafiz a15800a327 Preserve and format type aliases in extern blocks
Previously, non-trivial type aliases in extern blocks were dropped by
rustfmt because only the type alias name would be passed to a rewritter.
This commit fixes that by passing all type information (generics,
bounds, and assignments) to a type alias rewritter, and consolidates
`rewrite_type_alias` and `rewrite_associated_type` as one function.
2020-10-01 19:12:22 -05:00
..
2019-07-17 09:40:33 +09:00
2019-03-17 12:21:21 +09:00
2019-03-20 18:18:02 +01:00
2019-06-07 16:56:30 +09:00
2019-06-07 16:56:30 +09:00
2019-06-03 22:26:48 +09:00
2019-08-06 11:09:45 +09:00
2019-04-26 16:04:49 +08:00
2019-06-07 16:56:30 +09:00
2019-03-24 18:43:35 +09:00
2019-04-07 12:31:57 +09:00
2019-04-23 08:50:44 +09:00
2019-05-06 00:01:13 +09:00
2019-05-21 11:43:27 +09:00
2019-05-30 21:03:29 +09:00
2019-06-23 16:24:40 +09:00
2019-08-27 11:23:55 +09:00
2020-06-11 23:17:38 -05:00
2020-06-11 23:29:51 -05:00
2019-08-06 11:09:45 +09:00