Yacin Tmimi 2c30fa5a82 Adjust enum variant spans to exclude any explicit discriminant
Fixes 5686

For reference, explicit discriminants were proposed in [RFC-2363].

`ast::Variant` spans extend to include explicit discriminants when they
are present.

Now we'll adjust the span of enum variants to exclude any explicit
discriminant.

[RFC-2363]: https://rust-lang.github.io/rfcs/2363-arbitrary-enum-discriminant.html
2023-06-19 10:12:19 -05:00
..
2022-08-06 18:53:03 -05:00
2022-07-19 17:07:01 -05:00
2022-07-28 19:13:10 -05:00
2022-08-06 18:53:03 -05:00
2020-11-28 17:41:21 -06:00
2022-07-19 17:00:37 -05:00
2022-07-20 21:37:12 -05:00
2022-07-20 21:37:12 -05:00
2022-08-30 23:06:24 -04:00
2022-07-25 20:11:32 -05:00
2021-01-28 22:01:50 -06:00
2022-08-30 23:06:24 -04:00
2022-08-30 23:06:24 -04:00
2020-11-29 13:26:58 -06:00
2020-11-29 13:26:58 -06:00
2021-01-27 20:58:42 -06:00
2023-01-28 15:18:52 -06:00
2021-08-30 20:18:41 -05:00
2020-11-30 23:24:36 -06:00
2022-08-06 18:53:03 -05:00
2021-08-27 11:53:03 +00:00