about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2022-07-03 20:23:30 +0200
committerGuillaume Gomez <guillaume.gomez@huawei.com>2022-07-03 20:23:30 +0200
commitce9e834b6b4ce59f14a19d2d0a774f61f81eab4c (patch)
tree828a6ef3819b39ba5c33105335966c0489da931a
parent66c83ffca1512ed76f9445ec7f7280f768ef71c4 (diff)
downloadrust-ce9e834b6b4ce59f14a19d2d0a774f61f81eab4c.tar.gz
rust-ce9e834b6b4ce59f14a19d2d0a774f61f81eab4c.zip
Remove FIXME from rustdoc intra-doc test
-rw-r--r--src/test/rustdoc/intra-doc/pub-use.rs14
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