/dports/lang/rust/rustc-1.58.1-src/src/tools/rustfmt/src/ |
H A D | imports.rs | 100 pub(crate) struct UseTree { struct 111 impl PartialEq for UseTree { implementation 116 impl Eq for UseTree {} implementation 118 impl Spanned for UseTree { implementation 225 impl fmt::Debug for UseTree { implementation 270 impl UseTree { impl 335 ) -> Option<UseTree> { in from_ast_with_normalization() 358 a: &ast::UseTree, in from_ast() 363 ) -> UseTree { in from_ast() 816 impl Ord for UseTree { implementation [all …]
|
H A D | reorder.rs | 180 fn group_imports(uts: Vec<UseTree>) -> Vec<Vec<UseTree>> { in group_imports()
|
/dports/devel/rust-analyzer/rust-analyzer-2021-12-20/crates/ide_db/src/helpers/ |
H A D | merge_imports.rs | 55 lhs: &ast::UseTree, in try_merge_trees() 56 rhs: &ast::UseTree, in try_merge_trees() 58 ) -> Option<ast::UseTree> { in try_merge_trees() 65 fn try_merge_trees_mut(lhs: &ast::UseTree, rhs: &ast::UseTree, merge: MergeBehavior) -> Option<()> { in try_merge_trees_mut() 83 fn recursive_merge(lhs: &ast::UseTree, rhs: &ast::UseTree, merge: MergeBehavior) -> Option<()> { in recursive_merge()
|
/dports/lang/rust/rustc-1.58.1-src/src/tools/rust-analyzer/crates/ide_db/src/helpers/ |
H A D | merge_imports.rs | 55 lhs: &ast::UseTree, in try_merge_trees() 56 rhs: &ast::UseTree, in try_merge_trees() 58 ) -> Option<ast::UseTree> { in try_merge_trees() 77 lhs: &ast::UseTree, in recursive_merge() 78 rhs: &ast::UseTree, in recursive_merge() 80 ) -> Option<ast::UseTree> { in recursive_merge()
|
/dports/lang/rust/rustc-1.58.1-src/src/tools/clippy/clippy_lints/src/ |
H A D | unsafe_removed_from_name.rs | 39 fn check_use_tree(use_tree: &UseTree, cx: &EarlyContext<'_>, span: Span) { in check_use_tree()
|
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_resolve/src/ |
H A D | check_unused.rs | 114 fn visit_use_tree(&mut self, use_tree: &'a ast::UseTree, id: ast::NodeId, nested: bool) { in visit_use_tree() 143 use_tree: &ast::UseTree, in calc_unused_spans()
|
/dports/lang/rust/rustc-1.58.1-src/src/tools/rust-analyzer/crates/syntax/src/ast/ |
H A D | edit.rs | 12 impl ast::UseTree { implementation 15 pub fn split_prefix(&self, prefix: &ast::Path) -> ast::UseTree { in split_prefix()
|
/dports/devel/rust-analyzer/rust-analyzer-2021-12-20/crates/hir_def/src/ |
H A D | item_tree.rs | 545 pub struct UseTree { struct 546 pub index: Idx<ast::UseTree>, argument 547 kind: UseTreeKind, argument 745 index: Idx<ast::UseTree>, in use_tree_to_ast() 746 ) -> ast::UseTree { in use_tree_to_ast() 768 impl UseTree { implementation 772 mut cb: impl FnMut(Idx<ast::UseTree>, ModPath, ImportKind, Option<ImportAlias>), in expand() 780 cb: &mut dyn FnMut(Idx<ast::UseTree>, ModPath, ImportKind, Option<ImportAlias>), in expand_impl()
|
/dports/lang/rust/rustc-1.58.1-src/src/tools/rust-analyzer/crates/hir_def/src/ |
H A D | item_tree.rs | 561 pub struct UseTree { struct 562 pub index: Idx<ast::UseTree>, argument 563 kind: UseTreeKind, argument 764 index: Idx<ast::UseTree>, in use_tree_to_ast() 765 ) -> ast::UseTree { in use_tree_to_ast() 787 impl UseTree { impl 791 mut cb: impl FnMut(Idx<ast::UseTree>, ModPath, ImportKind, Option<ImportAlias>), in expand() 799 cb: &mut dyn FnMut(Idx<ast::UseTree>, ModPath, ImportKind, Option<ImportAlias>), in expand_impl()
|
/dports/devel/rust-analyzer/rust-analyzer-2021-12-20/crates/ide_assists/src/handlers/ |
H A D | expand_glob_import.rs | 95 ) -> Option<(Either<ast::UseTree, ast::UseTreeList>, ast::Path)> { in find_parent_and_path() 108 fn find_use_tree(n: SyntaxNode) -> Option<(ast::UseTree, ast::Path)> { in find_parent_and_path()
|
/dports/lang/rust/rustc-1.58.1-src/src/tools/rust-analyzer/crates/ide_assists/src/handlers/ |
H A D | expand_glob_import.rs | 95 ) -> Option<(Either<ast::UseTree, ast::UseTreeList>, ast::Path)> { in find_parent_and_path() 108 fn find_use_tree(n: SyntaxNode) -> Option<(ast::UseTree, ast::Path)> { in find_parent_and_path()
|
/dports/devel/rust-analyzer/rust-analyzer-2021-12-20/crates/hir_def/src/item_tree/ |
H A D | lower.rs | 748 fn lower_use_tree(&mut self, tree: ast::UseTree) -> Option<UseTree> { in lower_use_tree() 803 fn use_tree(&mut self, kind: UseTreeKind, ast: ast::UseTree) -> UseTree { in use_tree() 812 tree: ast::UseTree, in lower_use_tree() 813 ) -> Option<(UseTree, Arena<ast::UseTree>)> { in lower_use_tree()
|
H A D | pretty.rs | 169 fn print_use_tree(&mut self, use_tree: &UseTree) { in print_use_tree()
|
/dports/lang/rust/rustc-1.58.1-src/src/tools/rust-analyzer/crates/hir_def/src/item_tree/ |
H A D | lower.rs | 854 fn lower_use_tree(&mut self, tree: ast::UseTree) -> Option<UseTree> { in lower_use_tree() 909 fn use_tree(&mut self, kind: UseTreeKind, ast: ast::UseTree) -> UseTree { in use_tree() 918 tree: ast::UseTree, in lower_use_tree() 919 ) -> Option<(UseTree, Arena<ast::UseTree>)> { in lower_use_tree()
|
H A D | pretty.rs | 169 fn print_use_tree(&mut self, use_tree: &UseTree) { in print_use_tree()
|
/dports/sysutils/dua-cli/dua-cli-2.14.11/cargo-crates/windows_macros-0.9.1/src/ |
H A D | build_limits.rs | 87 tree: &syn::UseTree, in use_tree_to_namespace_types()
|
/dports/devel/rust-analyzer/rust-analyzer-2021-12-20/crates/hir_def/src/nameres/ |
H A D | diagnostics.rs | 70 index: Idx<ast::UseTree>, in unresolved_import()
|
/dports/lang/rust/rustc-1.58.1-src/src/tools/rust-analyzer/crates/hir_def/src/nameres/ |
H A D | diagnostics.rs | 70 index: Idx<ast::UseTree>, in unresolved_import()
|
/dports/devel/rust-analyzer/rust-analyzer-2021-12-20/crates/syntax/src/ast/ |
H A D | edit_in_place.rs | 270 impl ast::UseTree { implementation 337 pub fn add_use_tree(&self, use_tree: ast::UseTree) { in add_use_tree()
|
/dports/lang/rust/rustc-1.58.1-src/src/tools/rust-analyzer/crates/ide_completion/src/ |
H A D | patterns.rs | 37 UseTree, enumerator
|
/dports/audio/spotifyd/spotifyd-0.3.0/cargo-crates/pin-project-internal-0.4.8/src/ |
H A D | project.rs | 238 fn visit_use_tree_mut(&mut self, node: &mut UseTree) { in visit_use_tree_mut()
|
/dports/multimedia/librespot/librespot-0.1.3/cargo-crates/pin-project-internal-0.4.22/src/ |
H A D | project.rs | 316 fn visit_use_tree_mut(&mut self, node: &mut UseTree) { in replace_item_use()
|
/dports/www/castor/castor-0.8.16/cargo-crates/pin-project-internal-0.4.26/src/ |
H A D | project.rs | 316 fn visit_use_tree_mut(&mut self, node: &mut UseTree) { in replace_item_use()
|
/dports/games/genact/genact-0.10.0/cargo-crates/pin-project-internal-0.4.23/src/ |
H A D | project.rs | 316 fn visit_use_tree_mut(&mut self, node: &mut UseTree) { in replace_item_use()
|
/dports/sysutils/vector/vector-0.10.0/cargo-crates/pin-project-internal-0.4.22/src/ |
H A D | project.rs | 316 fn visit_use_tree_mut(&mut self, node: &mut UseTree) { in replace_item_use()
|