mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 15:15:24 +00:00
dispatch acros roots
This commit is contained in:
parent
2f2feef9af
commit
b04c14d4ad
5 changed files with 180 additions and 75 deletions
|
@ -56,6 +56,10 @@ pub enum Problem {
|
|||
}
|
||||
|
||||
impl ModuleMap {
|
||||
pub fn new() -> ModuleMap {
|
||||
Default::default()
|
||||
}
|
||||
|
||||
pub fn update_file(&mut self, file: FileId, change_kind: ChangeKind) {
|
||||
self.state.get_mut().changes.push((file, change_kind));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue