summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/intra-doc/field.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc/intra-doc/field.rs')
-rw-r--r--tests/rustdoc/intra-doc/field.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/rustdoc/intra-doc/field.rs b/tests/rustdoc/intra-doc/field.rs
new file mode 100644
index 000000000..001143489
--- /dev/null
+++ b/tests/rustdoc/intra-doc/field.rs
@@ -0,0 +1,4 @@
+// @has field/index.html '//a[@href="{{channel}}/core/ops/range/struct.Range.html#structfield.start"]' 'start'
+// @has field/index.html '//a[@href="{{channel}}/std/io/error/enum.ErrorKind.html#variant.NotFound"]' 'not_found'
+//! [start][std::ops::Range::start]
+//! [not_found][std::io::ErrorKind::NotFound]