about summary refs log tree commit diff
path: root/tests/rustdoc/wrapping.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc/wrapping.rs')
-rw-r--r--tests/rustdoc/wrapping.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/rustdoc/wrapping.rs b/tests/rustdoc/wrapping.rs
new file mode 100644
index 00000000000..8d8221bcdf2
--- /dev/null
+++ b/tests/rustdoc/wrapping.rs
@@ -0,0 +1,5 @@
+use std::fmt::Debug;
+
+// @has 'wrapping/fn.foo.html' '//pre[@class="rust fn"]' 'pub fn foo() -> impl Debug'
+// @count - '//pre[@class="rust fn"]/br' 0
+pub fn foo() -> impl Debug {}