rust/compiler/rustc_resolve/src
Vadim Petrochenkov 8e74842089 resolve: Remove visibility hacks for enum variants and trait items
Special treatment like this was necessary before `pub(restricted)` had been implemented and only two visibilities existed - `pub` and non-`pub`.
Now it's no longer necessary and the desired behavior follows from `pub(restricted)`-style visibilities naturally assigned to enum variants and trait items.
2021-02-10 22:46:44 +03:00
..
late Rollup merge of #81680 - camsteffen:primty, r=oli-obk 2021-02-06 17:01:45 +01:00
build_reduced_graph.rs resolve: Remove visibility hacks for enum variants and trait items 2021-02-10 22:46:44 +03:00
check_unused.rs Attach TokenStream to ast::Visibility 2020-09-10 17:33:06 -04:00
def_collector.rs resolve/expand: Improve attribute expansion on macro definitions and calls 2021-01-09 18:43:01 +03:00
diagnostics.rs Rollup merge of #81680 - camsteffen:primty, r=oli-obk 2021-02-06 17:01:45 +01:00
imports.rs resolve: Remove visibility hacks for enum variants and trait items 2021-02-10 22:46:44 +03:00
late.rs Rollup merge of #81680 - camsteffen:primty, r=oli-obk 2021-02-06 17:01:45 +01:00
lib.rs resolve: Remove visibility hacks for enum variants and trait items 2021-02-10 22:46:44 +03:00
macros.rs Feature gate macro attributes in #[derive] output 2021-02-07 20:08:45 +03:00