rust/crates/ra_ssr
David Lattimore b3ca36b2d9 SSR: Fix for path resolution of locals
It seems that Semantics::scope, if given a statement node, won't resolve
locals that were defined in the current scope, only in parent scopes.
Not sure if this is intended / expected behavior, but we work around it
for now by finding another nearby node to use as the scope (e.g. the
expression inside the EXPR_STMT).
2020-07-26 21:58:35 +10:00
..
src SSR: Fix for path resolution of locals 2020-07-26 21:58:35 +10:00
Cargo.toml SSR: Use expect! in tests 2020-07-24 21:34:00 +10:00