From 868927fefb2f6ea62783339552bbb67f828190e1 Mon Sep 17 00:00:00 2001 From: Joshua Nelson Date: Wed, 5 Aug 2020 00:11:57 -0400 Subject: rustdoc: Fix intra-doc links for cross-crate re-exports of traits #58972 ignored extern_traits because before #65983 was fixed, they would always fail to resolve, giving spurious warnings. This undoes that change, so extern traits are now seen by the `collect_intra_doc_links` pass. There are also some minor changes in librustdoc/fold.rs to avoid borrowing the extern_traits RefCell more than once at a time. --- src/test/rustdoc/intra-doc-crate/traits.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/test/rustdoc') diff --git a/src/test/rustdoc/intra-doc-crate/traits.rs b/src/test/rustdoc/intra-doc-crate/traits.rs index 07f9fb63313..07decb48019 100644 --- a/src/test/rustdoc/intra-doc-crate/traits.rs +++ b/src/test/rustdoc/intra-doc-crate/traits.rs @@ -1,5 +1,3 @@ -// ignore-test -// ^ this is https://github.com/rust-lang/rust/issues/73829 // aux-build:traits.rs // build-aux-docs // ignore-tidy-line-length -- cgit 1.4.1-3-g733a5