about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorJoshua Nelson <jyn514@gmail.com>2020-11-22 21:20:08 -0500
committerJoshua Nelson <jyn514@gmail.com>2020-11-24 09:54:53 -0500
commita3a5d2cd133d659e25099eaa490f82fbfcdf57fd (patch)
tree4dc1753ef550eac947a72af4779f0ef3fa97681f /src/test
parent35e7beed0e5a01816f1f447dc7d2200e97137af1 (diff)
downloadrust-a3a5d2cd133d659e25099eaa490f82fbfcdf57fd.tar.gz
rust-a3a5d2cd133d659e25099eaa490f82fbfcdf57fd.zip
Get rid of doctree::Function
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
    |