diff options
Diffstat (limited to 'tests/rustdoc-ui/intra-doc/double-anchor.rs')
-rw-r--r-- | tests/rustdoc-ui/intra-doc/double-anchor.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/rustdoc-ui/intra-doc/double-anchor.rs b/tests/rustdoc-ui/intra-doc/double-anchor.rs new file mode 100644 index 000000000..a01211c4f --- /dev/null +++ b/tests/rustdoc-ui/intra-doc/double-anchor.rs @@ -0,0 +1,7 @@ +// check-pass + +// regression test for #73264 +// should only give one error +/// docs [label][with#anchor#error] +//~^ WARNING multiple anchors +pub struct S; |