summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-js/nested-unboxed.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc-js/nested-unboxed.rs')
-rw-r--r--tests/rustdoc-js/nested-unboxed.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/rustdoc-js/nested-unboxed.rs b/tests/rustdoc-js/nested-unboxed.rs
new file mode 100644
index 000000000..57f9592b7
--- /dev/null
+++ b/tests/rustdoc-js/nested-unboxed.rs
@@ -0,0 +1,5 @@
+pub struct Object<T, U>(T, U);
+
+pub fn something() -> Result<Object<i32, u32>, bool> {
+ loop {}
+}