]> git.lizzy.rs Git - rust.git/commitdiff
Merge #9893
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Sat, 14 Aug 2021 15:52:48 +0000 (15:52 +0000)
committerGitHub <noreply@github.com>
Sat, 14 Aug 2021 15:52:48 +0000 (15:52 +0000)
9893: fix: Don't use uncached syntax nodes in `generate_function` for sema lookups r=Veykril a=Veykril

Fixes the crash in the comment here https://github.com/rust-analyzer/rust-analyzer/issues/9382#issuecomment-896101298
Couldn't make out a repro test for this unfortunately
still not idea about the original issue

Co-authored-by: Lukas Wirth <lukastw97@gmail.com>

Trivial merge