gpt修改
(&mut self, id: DefId, mut diags: Vec<Option<Diagnostic<'compiler>>>)
| 118 | |
| 119 | // gpt修改 |
| 120 | pub fn insert(&mut self, id: DefId, mut diags: Vec<Option<Diagnostic<'compiler>>>) { |
| 121 | if let Some(existing) = self.map.get_mut(&id) { |
| 122 | existing.append(&mut diags); |
| 123 | } else { |
| 124 | self.map.insert(id, diags); |
| 125 | } |
| 126 | } |
| 127 | } |
no outgoing calls
no test coverage detected