Rollup merge of #150185 - lambda:rustdoc-missing-close-tags-reexport, r=GuillaumeGomez
[rustdoc] Add missing close tags in extern crate reexports Fixes rust-lang/rust#150176
This commit is contained in:
commit
d107e95043
2 changed files with 10 additions and 0 deletions
|
|
@ -439,6 +439,7 @@ fn item_module(cx: &Context<'_>, item: &clean::Item, items: &[clean::Item]) -> i
|
|||
)?;
|
||||
}
|
||||
}
|
||||
write!(w, "</code></dt>")?
|
||||
}
|
||||
clean::ImportItem(ref import) => {
|
||||
let stab_tags =
|
||||
|
|
|
|||
9
tests/rustdoc/extern/pub-extern-crate-150176.rs
vendored
Normal file
9
tests/rustdoc/extern/pub-extern-crate-150176.rs
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
//@ aux-build:pub-extern-crate.rs
|
||||
|
||||
// A refactor had left us missing the closing tags,
|
||||
// ensure that they are present.
|
||||
// https://github.com/rust-lang/rust/issues/150176
|
||||
|
||||
//@ has pub_extern_crate_150176/index.html
|
||||
//@ hasraw - '<dt><code>pub extern crate inner;</code></dt>'
|
||||
pub extern crate inner;
|
||||
Loading…
Add table
Add a link
Reference in a new issue