about summary refs log tree commit diff
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.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/rustdoc-js/nested-unboxed.rs b/tests/rustdoc-js/nested-unboxed.rs
index 57f9592b791..6c8b1bd6aa1 100644
--- a/tests/rustdoc-js/nested-unboxed.rs
+++ b/tests/rustdoc-js/nested-unboxed.rs
@@ -1,3 +1,6 @@
+#![feature(rustdoc_internals)]
+
+#[doc(search_unbox)]
 pub struct Object<T, U>(T, U);
 
 pub fn something() -> Result<Object<i32, u32>, bool> {