Searched defs:ModItem (Results 1 – 5 of 5) sorted by relevance
| /third_party/rust/rust/src/tools/rustfmt/src/modules/ |
| D | visitor.rs | 9 pub(crate) struct ModItem { struct 16 mods: Vec<ModItem>, argument 27 pub(crate) fn mods(self) -> Vec<ModItem> { in mods()
|
| /third_party/rust/rust/src/tools/rust-analyzer/crates/hir-def/src/ |
| D | item_tree.rs | 148 pub fn top_level_items(&self) -> &[ModItem] { in top_level_items() 292 ModItem(ModItem), enumerator 328 fn id_to_mod_item(id: FileItemTreeId<Self>) -> ModItem; in id_to_mod_item() 870 impl ModItem { implementation 931 impl From<AssocItem> for ModItem { implementation
|
| /third_party/rust/rust/src/tools/rust-analyzer/crates/hir-def/src/item_tree/ |
| D | pretty.rs | 197 fn print_mod_item(&mut self, item: ModItem) { in print_mod_item()
|
| D | lower.rs | 108 fn lower_mod_item(&mut self, item: &ast::Item) -> Option<ModItem> { in lower_mod_item()
|
| /third_party/rust/rust/src/tools/rust-analyzer/crates/hir-def/src/nameres/ |
| D | collector.rs | 1516 fn collect_in_top_module(&mut self, items: &[ModItem]) { in collect_in_top_module() 1521 fn collect(&mut self, items: &[ModItem], container: ItemContainerId) { in collect() 1965 mod_item: ModItem, in resolve_attributes() 2271 fn emit_unconfigured_diagnostic(&mut self, item: ModItem, cfg: &CfgExpr) { in emit_unconfigured_diagnostic()
|