diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-04-23 17:49:08 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-04-23 17:49:08 +0100 |
commit | 5cbde9f531e6afb315ac71f679a0f3c469088137 (patch) | |
tree | 9f80fa75fa44146518a46237f0fa29e15eb2d6c3 /crates/ide_db/src/line_index/tests.rs | |
parent | 20f82191a038b05ead5c4d666fcd75f053a2dc6c (diff) | |
parent | d5c9de65c555235d7a27dc4617858b7a24be4935 (diff) | |
parent | e6e4417bbbcc7e135d1b372e4e278cd3efa2d4b8 (diff) |
Merge #8591 #8638
8591: Remove SyntaxRewriter usage in insert_use in favor of mutable syntax trees r=matklad a=Veykril
Unfortunately changing `insert_use` to not use `SyntaxRewriter` creates a lot of changes since so much relies on that. But on the other hand this should be the biggest usage of `SyntaxRewriter` I believe.
8638: Remove SyntaxRewriter::from_fn r=Veykril a=Veykril
Co-authored-by: Lukas Wirth <[email protected]>