summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc-ui/deny-intra-link-resolution-failure.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/rustdoc-ui/deny-intra-link-resolution-failure.rs')
-rw-r--r--src/test/rustdoc-ui/deny-intra-link-resolution-failure.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/rustdoc-ui/deny-intra-link-resolution-failure.rs b/src/test/rustdoc-ui/deny-intra-link-resolution-failure.rs
new file mode 100644
index 000000000..09da124b1
--- /dev/null
+++ b/src/test/rustdoc-ui/deny-intra-link-resolution-failure.rs
@@ -0,0 +1,4 @@
+#![deny(rustdoc::broken_intra_doc_links)]
+
+/// [v2] //~ ERROR
+pub fn foo() {}