{"ast_node_type":"other","tokens":[{"end":83,"kind":"keyword","start":0,"text":"ModuleKind::Def(DefKind::Enum"}]}
                    ModuleKind::Def(DefKind::Enum | DefKind::Trait, def_id, _) => {
                    // of the enum or trait.
                        self.r.tcx.visibility(def_id).expect_local()