about summary refs log tree commit diff
path: root/src/test/rustdoc
diff options
context:
space:
mode:
authormax-heller <max.a.heller@gmail.com>2021-01-03 15:34:06 -0500
committermax-heller <max.a.heller@gmail.com>2021-01-03 20:38:28 -0500
commitb4a0ef066d645b430091017203882b6ea39b73a1 (patch)
tree33c5e1f4e3672100520e92f7395c3348dadb226f /src/test/rustdoc
parent80184183ba0a53aa4f491753de9502acd3d6920c (diff)
downloadrust-b4a0ef066d645b430091017203882b6ea39b73a1.tar.gz
rust-b4a0ef066d645b430091017203882b6ea39b73a1.zip
fix issue 80559
Diffstat (limited to 'src/test/rustdoc')
-rw-r--r--src/test/rustdoc/issue-80559.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/rustdoc/issue-80559.rs b/src/test/rustdoc/issue-80559.rs
new file mode 100644
index 00000000000..34905c48653
--- /dev/null
+++ b/src/test/rustdoc/issue-80559.rs
@@ -0,0 +1,4 @@
+#![deny(broken_intra_doc_links)]
+// Should link to https://doc.rust-lang.org/nightly/std/primitive.str.html#method.trim
+// and not suggest prefixing with `prim@`
+//! [str::trim()]