1
Fork 0
rust/compiler/rustc_resolve/src
Camelid 5ce3f4c166 Resolve enum field visibility correctly
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-12 14:04:59 -08:00
..
late Tweak diagnostics on shadowing lifetimes/labels 2020-12-02 11:39:42 +09:00
build_reduced_graph.rs Resolve enum field visibility correctly 2020-12-12 14:04:59 -08:00
check_unused.rs Attach TokenStream to ast::Visibility 2020-09-10 17:33:06 -04:00
def_collector.rs Expand NtExpr tokens only in key-value attributes 2020-11-03 00:53:43 +03:00
diagnostics.rs Move lev_distance to rustc_ast, make non-generic 2020-11-24 16:12:23 -08:00
imports.rs Move lev_distance to rustc_ast, make non-generic 2020-11-24 16:12:23 -08:00
late.rs Auto merge of #78826 - petrochenkov:mrscopes2, r=eddyb 2020-11-13 05:40:37 +00:00
lib.rs Resolve enum field visibility correctly 2020-12-12 14:04:59 -08:00
macros.rs rustc_expand: Mark inner #![test] attributes as soft-unstable 2020-11-20 19:35:03 +03:00