Function use_tree_to_ast

Source
pub fn use_tree_to_ast(
    db: &dyn DefDatabase,
    use_ast_id: AstId<Use>,
    index: Idx<UseTree>,
) -> UseTree
Expand description

Maps a UseTree contained in this import back to its AST node.