about summary refs log tree commit diff
path: root/tests/rustdoc-json/enums/tuple_fields_hidden.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc-json/enums/tuple_fields_hidden.rs')
-rw-r--r--tests/rustdoc-json/enums/tuple_fields_hidden.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/rustdoc-json/enums/tuple_fields_hidden.rs b/tests/rustdoc-json/enums/tuple_fields_hidden.rs
index 3aeb0356420..34a4f4aec53 100644
--- a/tests/rustdoc-json/enums/tuple_fields_hidden.rs
+++ b/tests/rustdoc-json/enums/tuple_fields_hidden.rs
@@ -1,6 +1,9 @@
-#![feature(no_core)]
+#![feature(no_core, lang_items)]
 #![no_core]
 
+#[lang = "sized"]
+trait Sized {}
+
 // @set 1.1.0 = "$.index[*][?(@.docs=='1.1.0')].id"
 // @set 2.1.0 = "$.index[*][?(@.docs=='2.1.0')].id"
 // @set 2.1.1 = "$.index[*][?(@.docs=='2.1.1')].id"