bors
d149b6579f
Auto merge of #79956 - camelid:variant-field-vis, r=petrochenkov
...
Resolve enum field visibility correctly
Fixes #79593 . 🎉
Previously, this code treated enum fields' visibility as if they were
struct fields. However, that's not correct because the visibility of a
struct field with `ast::VisibilityKind::Inherited` is private to the
module it's defined in, whereas the visibility of an *enum* field with
`ast::VisibilityKind::Inherited` is the visibility of the enum it
belongs to.
2020-12-13 08:40:07 +00:00
..
2020-09-11 09:37:51 -07:00
2020-10-04 02:02:25 +02:00
2020-11-20 21:02:09 +01:00
2020-12-09 21:37:32 +03:00
2020-12-06 20:48:08 +01:00
2020-12-10 21:33:10 -08:00
2020-11-15 13:39:48 +01:00
2020-12-01 16:26:51 +01:00
2020-12-11 23:02:19 +01:00
2020-12-09 19:53:23 +00:00
2020-12-11 23:02:17 +01:00
2020-12-10 12:55:12 +00:00
2020-11-23 14:14:06 -08:00
2020-12-01 12:54:03 -05:00
2020-12-10 21:33:04 -08:00
2020-11-17 16:13:46 +01:00
2020-12-12 19:20:37 +03:00
2020-12-12 19:18:44 +03:00
2020-10-14 04:14:32 +02:00
2020-11-05 18:24:12 -08:00
2020-12-06 20:48:08 +01:00
2020-12-06 20:48:08 +01:00
2020-12-01 14:30:02 +00:00
2020-11-22 13:45:14 +00:00
2020-12-08 20:27:49 +01:00
2020-12-03 12:14:29 +00:00
2020-12-03 17:08:19 -05:00
2020-12-08 20:27:48 +01:00
2020-12-07 00:00:00 +00:00
2020-12-11 23:02:17 +01:00
2020-11-19 15:50:55 -05:00
2020-12-08 13:02:53 -05:00
2020-12-12 12:36:18 +00:00
2020-12-13 11:05:47 +09:00
2020-12-13 11:05:36 +09:00
2020-12-09 21:37:32 +03:00
2020-09-23 21:51:56 +02:00
2020-12-09 13:38:34 -08:00
2020-11-26 21:29:27 +01:00
2020-11-26 21:32:27 +01:00
2020-12-10 16:04:19 -05:00
2020-12-12 14:04:59 -08:00
2020-11-26 21:32:27 +01:00
2020-12-03 17:08:19 -05:00
2020-12-11 23:02:19 +01:00
2020-12-10 13:51:56 -08:00
2020-11-26 21:29:27 +01:00
2020-12-10 21:33:19 -08:00
2020-12-11 23:02:19 +01:00
2020-11-18 12:25:36 -05:00
2020-11-29 19:20:28 -05:00
2020-12-12 16:13:06 +01:00
2020-12-13 08:40:07 +00:00