Searched refs:current_module (Results 1 – 3 of 3) sorted by relevance
327 current_module: ModuleId, field569 current_module: root_module_id, in new()768 self.current_module in add_item_to_module()771 self.items[(self.current_module.0).0] in add_item_to_module()1206 assert!(self.current_module == self.root_module); in assert_no_dangling_item_traversal()1222 assert!(self.current_module == self.root_module); in assert_every_item_in_a_module()1477 pub fn current_module(&self) -> ModuleId { in current_module() method1478 self.current_module in current_module()1731 self.current_module.into(), in instantiate_template()1796 self.current_module.into(), in instantiate_template()[all …]
1349 let current_module = ctx.current_module().into(); in parse() localVariable1350 let relevant_parent_id = parent_id.unwrap_or(current_module); in parse()1413 .unwrap_or_else(|| ctx.current_module().into()) in parse()1538 let current_module = ctx.current_module(); in from_ty_or_ref_with_id() localVariable1545 parent_id.unwrap_or_else(|| current_module.into()), in from_ty_or_ref_with_id()1659 let current_module = ctx.current_module().into(); in from_ty_with_id() localVariable1666 let relevant_parent_id = parent_id.unwrap_or(current_module); in from_ty_with_id()
2922 context.current_module() == context.root_module(), in parse()