about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-11-24 16:08:23 +0000
committerbors <bors@rust-lang.org>2020-11-24 16:08:23 +0000
commit25a691003cf6676259ee7d4bed05b43cb6283cea (patch)
tree2022066a6e97421109aea41f3fb8d7b8bae2430d /src/test
parent53d19b37c514246acab020eaba9527cb97c421cf (diff)
parent66e30ec712eedc535fdb6a5394e0406ef4ddc737 (diff)
downloadrust-25a691003cf6676259ee7d4bed05b43cb6283cea.tar.gz
rust-25a691003cf6676259ee7d4bed05b43cb6283cea.zip
Auto merge of #79335 - jyn514:doctree-crate, r=GuillaumeGomez
Get rid of doctree::{ExternalCrate, ForeignItem, Trait, Function}

Closes #79314, closes #79331, closes #79332. Follow-up to #79264 and #79312, continues breaking up #78082.

r? `@GuillaumeGomez`
Diffstat (limited to 'src/test')
-rw-r--r--src/test/rustdoc-ui/intra-links-warning.stderr16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/test/rustdoc-ui/intra-links-warning.stderr b/src/test/rustdoc-ui/intra-links-warning.stderr
index bf437a7cf46..0b074e9d53e 100644
--- a/src/test/rustdoc-ui/intra-links-warning.stderr
+++ b/src/test/rustdoc-ui/intra-links-warning.stderr
@@ -36,6 +36,14 @@ warning: unresolved link to `Qux::Z`
 LL |       //! , [Uniooon::X] and [Qux::Z].
    |                               ^^^^^^ no item named `Qux` in scope
 
+warning: unresolved link to `Qux:Y`
+  --> $DIR/intra-links-warning.rs:14:13
+   |
+LL |        /// [Qux:Y]
+   |             ^^^^^ no item named `Qux:Y` in scope
+   |
+   = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
+
 warning: unresolved link to `BarA`
   --> $DIR/intra-links-warning.rs:21:10
    |
@@ -90,14 +98,6 @@ LL | f!("Foo\nbar [BarF] bar\nbaz");
    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
 
-warning: unresolved link to `Qux:Y`
-  --> $DIR/intra-links-warning.rs:14:13
-   |
-LL |        /// [Qux:Y]
-   |             ^^^^^ no item named `Qux:Y` in scope
-   |
-   = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
-
 warning: unresolved link to `error`
   --> $DIR/intra-links-warning.rs:58:30
    |