mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 05:45:12 +00:00
Replace expressions with errors in them
This commit is contained in:
parent
30287e6051
commit
ecf3cff4a6
7 changed files with 84 additions and 33 deletions
|
@ -74,6 +74,7 @@ impl TokenMap {
|
|||
|
||||
pub(crate) fn shrink_to_fit(&mut self) {
|
||||
self.entries.shrink_to_fit();
|
||||
self.synthetic_entries.shrink_to_fit();
|
||||
}
|
||||
|
||||
pub(crate) fn insert(&mut self, token_id: tt::TokenId, relative_range: TextRange) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue