Aaron Hill
fb5fec017b
Combine HasAttrs and HasTokens into AstLike
...
When token-based attribute handling is implemeneted in #80689 ,
we will need to access tokens from `HasAttrs` (to perform
cfg-stripping), and we will to access attributes from `HasTokens` (to
construct a `PreexpTokenStream`).
This PR merges the `HasAttrs` and `HasTokens` traits into a new
`AstLike` trait. The previous `HasAttrs` impls from `Vec<Attribute>` and `AttrVec`
are removed - they aren't attribute targets, so the impls never really
made sense.
2021-02-27 00:14:13 -05:00
..
2021-02-14 18:03:11 +03:00
2021-02-20 17:19:30 -05:00
2021-02-27 00:14:13 -05:00
2021-02-25 18:14:50 +00:00
2021-02-23 16:10:23 +01:00
2021-02-19 02:49:08 +01:00
2021-02-21 18:11:27 +01:00
2021-02-20 10:51:26 +01:00
2021-02-26 15:52:29 +01:00
2021-02-27 02:34:21 +01:00
2021-02-26 15:52:35 +01:00
2021-02-27 02:34:21 +01:00
2021-02-25 16:06:16 -05:00
2021-02-26 00:17:22 +00:00
2021-02-25 14:33:56 +01:00
2021-02-27 00:14:13 -05:00
2021-02-26 08:32:38 +01:00
2021-02-26 00:00:00 +00:00
2021-02-16 22:14:32 +00:00
2021-02-18 14:13:38 +02:00
2021-02-26 00:00:00 +00:00
2021-02-27 02:34:22 +01:00
2021-02-25 16:06:16 -05:00
2021-02-27 00:14:13 -05:00
2021-02-18 16:21:16 -08:00
2021-02-07 23:48:58 -08:00
2021-02-24 02:43:35 +03:00
2021-02-23 17:25:55 +00:00
2021-02-26 00:00:00 +00:00
2021-02-27 02:34:32 +01:00
2021-02-22 21:45:50 +00:00
2021-02-27 00:14:13 -05:00
2021-02-06 15:01:07 +00:00
2021-02-26 15:52:33 +01:00
2021-02-15 19:32:10 +01:00
2021-02-18 16:57:34 +01:00
2021-02-21 12:22:22 +01:00
2021-02-21 12:22:22 +01:00
2021-02-26 15:52:31 +01:00
2021-02-15 19:32:29 +01:00
2021-02-20 17:19:30 -05:00
2021-02-26 21:58:58 +00:00
2021-02-26 15:52:29 +01:00
2021-02-15 19:36:12 +01:00
2021-02-26 15:52:29 +01:00
2021-02-25 04:21:12 +03:00
2021-02-18 16:57:34 +01:00
2021-02-24 21:54:52 +00:00
2021-02-21 21:51:54 +01:00
2021-02-27 02:34:35 +01:00