rust/src/librustc/middle
bors e2bb53ca52 Auto merge of #29291 - petrochenkov:privacy, r=alexcrichton
The public set is expanded with trait items, impls and their items, foreign items, exported macros, variant fields, i.e. all the missing parts. Now it's a subset of the exported set.
This is needed for https://github.com/rust-lang/rust/pull/29083 because stability annotation pass uses the public set and all things listed above need to be annotated.
Rustdoc can now be migrated to the public set as well, I guess.

Exported set is now slightly more correct with regard to exported items in blocks - 1) blocks in foreign items are considered and 2) publicity is not inherited from the block's parent - if a function is public it doesn't mean structures defined in its body are public.

r? @alexcrichton or maybe someone else
2015-11-02 23:38:49 +00:00
..
cfg Remove PatWildMulti 2015-10-31 03:44:43 +03:00
infer Rustfmt region_inference. 2015-10-31 11:31:52 +01:00
traits project: add a recursion limit to "tail-recursive" projections 2015-10-27 16:04:06 +02:00
ty Auto merge of #26848 - oli-obk:const_fn_const_eval, r=pnkfelix 2015-10-27 17:11:13 +00:00
astconv_util.rs
astencode.rs
check_const.rs Auto merge of #28846 - Ms2ger:categorization, r=nikomatsakis 2015-11-02 10:44:08 +00:00
check_loop.rs
check_match.rs Remove PatWildMulti 2015-10-31 03:44:43 +03:00
check_no_asm.rs
check_rvalues.rs
check_static_recursion.rs
const_eval.rs the const evaluator might run before check_const 2015-10-27 09:39:07 +01:00
dataflow.rs
dead.rs Remove PatWildMulti 2015-10-31 03:44:43 +03:00
def_id.rs do not dump extern def-ids with path for now 2015-10-28 18:48:49 -04:00
def.rs
dependency_format.rs
effect.rs
entry.rs
expr_use_visitor.rs Remove PatWildMulti 2015-10-31 03:44:43 +03:00
free_region.rs
implicator.rs
intrinsicck.rs
lang_items.rs
liveness.rs
mem_categorization.rs Auto merge of #28846 - Ms2ger:categorization, r=nikomatsakis 2015-11-02 10:44:08 +00:00
pat_util.rs Remove PatWildMulti 2015-10-31 03:44:43 +03:00
privacy.rs
reachable.rs Make fields and macro defs exported 2015-10-29 21:54:55 +03:00
recursion_limit.rs
region.rs
resolve_lifetime.rs
stability.rs Auto merge of #29291 - petrochenkov:privacy, r=alexcrichton 2015-11-02 23:38:49 +00:00
subst.rs
weak_lang_items.rs