diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-07-05 16:04:34 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-05 16:04:34 +0530 |
| commit | 6a61e186881dc9d7fe4d50bb664062abc1e506d7 (patch) | |
| tree | 2a953c989c6ba040d6d34f72fcdfd4aa99473515 | |
| parent | c2613a5c7fc1e6582eae12ea24da7bf08c16ad43 (diff) | |
| parent | ce9e834b6b4ce59f14a19d2d0a774f61f81eab4c (diff) | |
| download | rust-6a61e186881dc9d7fe4d50bb664062abc1e506d7.tar.gz rust-6a61e186881dc9d7fe4d50bb664062abc1e506d7.zip | |
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``
| -rw-r--r-- | src/test/rustdoc/intra-doc/pub-use.rs | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/test/rustdoc/intra-doc/pub-use.rs b/src/test/rustdoc/intra-doc/pub-use.rs index 0c70cdee914..8a998496cf5 100644 --- a/src/test/rustdoc/intra-doc/pub-use.rs +++ b/src/test/rustdoc/intra-doc/pub-use.rs @@ -5,21 +5,11 @@ extern crate inner; /// [mod@std::env] [g] - -// FIXME: This can't be tested because rustdoc doesn't show documentation on pub re-exports. -// Until then, comment out the `htmldocck` test. -// This test still does something; namely check that no incorrect errors are emitted when -// documenting the re-export. - // @has outer/index.html -// @ has - '//a[@href="{{channel}}/std/env/fn.var.html"]' "std::env" -// @ has - '//a[@href="fn.f.html"]' "g" +// @has - '//a[@href="{{channel}}/std/env/index.html"]' "std::env" +// @has - '//a[@href="fn.f.html"]' "g" pub use f as g; -// FIXME: same as above -/// [std::env] -extern crate self as _; - // Make sure the documentation is actually correct by documenting an inlined re-export /// [mod@std::env] // @has outer/fn.f.html |
