fn find_opt_node_in_file_compensated<N: AstNode>(
sema: &Semantics<'_, RootDatabase>,
syntax: &SyntaxNode,
node: Option<N>,
) -> Option<N>Expand description
Attempts to find node inside syntax via node’s text range while compensating
for the offset introduced by the fake ident..
This is wrong if node comes before the insertion point! Use find_node_in_file instead.