mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-22 04:27:33 +00:00
Auto merge of #30870 - Eljay:issue-30477, r=alexcrichton
Fixes #30477, #30213. The loop over reexports used to be a closure before #30043 but it's an iterator now so it should just continue instead of exiting the loop and skipping stuff. r? @brson
This commit is contained in:
commit
1447ce78fb
@ -459,7 +459,7 @@ fn build_module(cx: &DocContext, tcx: &ty::ctxt,
|
|||||||
fill_in(cx, tcx, did, items);
|
fill_in(cx, tcx, did, items);
|
||||||
}
|
}
|
||||||
cstore::DlDef(def) if item.vis == hir::Public => {
|
cstore::DlDef(def) if item.vis == hir::Public => {
|
||||||
if !visited.insert(def) { return }
|
if !visited.insert(def) { continue }
|
||||||
match try_inline_def(cx, tcx, def) {
|
match try_inline_def(cx, tcx, def) {
|
||||||
Some(i) => items.extend(i),
|
Some(i) => items.extend(i),
|
||||||
None => {}
|
None => {}
|
||||||
|
Loading…
Reference in New Issue
Block a user