about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNixon Enraght-Moony <nixon.emoony@gmail.com>2022-08-30 14:16:38 +0100
committerNixon Enraght-Moony <nixon.emoony@gmail.com>2022-09-14 16:14:15 +0100
commitc98c7cbfa5e9d9f414101f17abd4639b9541c9e7 (patch)
tree3f25c0546896d800bd108c9816c419e359755d91
parent41d35a97f9f33e265de53b8f04abe307d7616641 (diff)
downloadrust-c98c7cbfa5e9d9f414101f17abd4639b9541c9e7.tar.gz
rust-c98c7cbfa5e9d9f414101f17abd4639b9541c9e7.zip
Primitives can appear in modules.
-rw-r--r--src/tools/jsondoclint/src/item_kind.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/jsondoclint/src/item_kind.rs b/src/tools/jsondoclint/src/item_kind.rs
index f4153245e0b..f46da20fd58 100644
--- a/src/tools/jsondoclint/src/item_kind.rs
+++ b/src/tools/jsondoclint/src/item_kind.rs
@@ -52,12 +52,12 @@ impl Kind {
             Static => true,
             Macro => true,
             ProcMacro => true,
+            Primitive => true,
 
             // FIXME(adotinthevoid): I'm not sure if these are corrent
             ForeignType => false,
             Keyword => false,
             OpaqueTy => false,
-            Primitive => false,
             ProcAttribute => false,
             ProcDerive => false,