about summary refs log tree commit diff
path: root/src/test/rustdoc-ui/intra-doc/double-anchor.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/rustdoc-ui/intra-doc/double-anchor.stderr')
-rw-r--r--src/test/rustdoc-ui/intra-doc/double-anchor.stderr10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/test/rustdoc-ui/intra-doc/double-anchor.stderr b/src/test/rustdoc-ui/intra-doc/double-anchor.stderr
new file mode 100644
index 00000000000..1cd9231eded
--- /dev/null
+++ b/src/test/rustdoc-ui/intra-doc/double-anchor.stderr
@@ -0,0 +1,10 @@
+warning: `with#anchor#error` contains multiple anchors
+  --> $DIR/double-anchor.rs:5:18
+   |
+LL | /// docs [label][with#anchor#error]
+   |                  ^^^^^^^^^^^^^^^^^ contains invalid anchor
+   |
+   = note: `#[warn(broken_intra_doc_links)]` on by default
+
+warning: 1 warning emitted
+