forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Comment out test for generated docs until rustdoc changes its behavio…
…r around documenting re-exports
- Loading branch information
Showing
2 changed files
with
18 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,17 @@ | ||
#![deny(intra_doc_link_resolution_failure)] | ||
#![deny(broken_intra_doc_links)] | ||
|
||
/// [std::env] [g] | ||
// @has intra_link_pub_use/index.html '//a[@href="https://doc.rust-lang.org/nightly/std/env/fn.var.html"]' "std::env" | ||
// @has - '//a[@href="../intra_link_pub_use/fn.f.html"]' "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 intra_link_pub_use/index.html | ||
// @ has - '//a[@href="https://doc.rust-lang.org/nightly/std/env/fn.var.html"]' "std::env" | ||
// @ has - '//a[@href="../intra_link_pub_use/fn.f.html"]' "g" | ||
pub use f as g; | ||
|
||
/// [std::env] | ||
extern crate self as _; | ||
|
||
pub fn f() {} |