summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/lifetime-name.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc/lifetime-name.rs')
-rw-r--r--tests/rustdoc/lifetime-name.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/rustdoc/lifetime-name.rs b/tests/rustdoc/lifetime-name.rs
new file mode 100644
index 000000000..0fb660591
--- /dev/null
+++ b/tests/rustdoc/lifetime-name.rs
@@ -0,0 +1,5 @@
+#![crate_name = "foo"]
+
+// @has 'foo/type.Resolutions.html'
+// @has - '//div[@class="item-decl"]/pre[@class="rust"]' "pub type Resolutions<'tcx> = &'tcx u8;"
+pub type Resolutions<'tcx> = &'tcx u8;