about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/transform/coverage/graph.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-07-12 11:52:55 +0000
committerbors <bors@rust-lang.org>2021-07-12 11:52:55 +0000
commit3a24abd22fd25c836d8b4d75ff46c833f9c3934c (patch)
tree90d044284d3cb40c99fc752e22f2bde1cfb810ee /compiler/rustc_mir/src/transform/coverage/graph.rs
parente97c29bda238cf55ddd7eec772deb823364b1846 (diff)
parent74d71c204f5d7243507d1fd430700516796b1cf8 (diff)
downloadrust-3a24abd22fd25c836d8b4d75ff46c833f9c3934c.tar.gz
rust-3a24abd22fd25c836d8b4d75ff46c833f9c3934c.zip
Auto merge of #86841 - GuillaumeGomez:reexported-macro-2-render, r=Stupremee
Fix rendering of reexported macros 2.0 and fix visibility of reexported items

So, this PR grew a bit out of focus, it does the following things:

* Fixes #86276.
* Fixes visibility display for reexported items: it now takes the visibility of the "use" statement rather than the visibility of the reexported item itself).
* Fixes the display of reexported items if "--document-private-items" option is used. Before, they were simply skipped.
* Fixes inconsistency on typedef items: they didn't display their visibility contrary to other items.

I added tests to check everything listed above.

cc `@camelid` `@ollie27` (in case one of you want to review?)

r? `@jyn514`
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/graph.rs')
0 files changed, 0 insertions, 0 deletions