Skip to content

Commit 6a61e18

Browse files
authored
Rollup merge of #98856 - GuillaumeGomez:rustdoc-test-rm-fixme, r=Dylan-DPC
Remove FIXME from rustdoc intra-doc test Removed the FIXME. For the `extern crate`, even if `pub` exported, its documentation wasn't rendered so there is no point in keeping it. r? ``@notriddle``
2 parents c2613a5 + ce9e834 commit 6a61e18

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

src/test/rustdoc/intra-doc/pub-use.rs

+2-12
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,11 @@
55
extern crate inner;
66

77
/// [mod@std::env] [g]
8-
9-
// FIXME: This can't be tested because rustdoc doesn't show documentation on pub re-exports.
10-
// Until then, comment out the `htmldocck` test.
11-
// This test still does something; namely check that no incorrect errors are emitted when
12-
// documenting the re-export.
13-
148
// @has outer/index.html
15-
// @ has - '//a[@href="{{channel}}/std/env/fn.var.html"]' "std::env"
16-
// @ has - '//a[@href="fn.f.html"]' "g"
9+
// @has - '//a[@href="{{channel}}/std/env/index.html"]' "std::env"
10+
// @has - '//a[@href="fn.f.html"]' "g"
1711
pub use f as g;
1812

19-
// FIXME: same as above
20-
/// [std::env]
21-
extern crate self as _;
22-
2313
// Make sure the documentation is actually correct by documenting an inlined re-export
2414
/// [mod@std::env]
2515
// @has outer/fn.f.html

0 commit comments

Comments
 (0)