about summary refs log tree commit diff
path: root/tests/rustdoc-json/enums/field_hidden.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc-json/enums/field_hidden.rs')
-rw-r--r--tests/rustdoc-json/enums/field_hidden.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/rustdoc-json/enums/field_hidden.rs b/tests/rustdoc-json/enums/field_hidden.rs
index 5c0d0ffd3df..f2409858057 100644
--- a/tests/rustdoc-json/enums/field_hidden.rs
+++ b/tests/rustdoc-json/enums/field_hidden.rs
@@ -1,7 +1,10 @@
 // Regression test for <https://github.com/rust-lang/rust/issues/100529>.
 
 #![no_core]
-#![feature(no_core)]
+#![feature(no_core, lang_items)]
+
+#[lang = "sized"]
+trait Sized {}
 
 // @has "$.index[*][?(@.name=='ParseError')]"
 // @has "$.index[*][?(@.name=='UnexpectedEndTag')]"