mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
internal: Give ConstBlockId and InTypeConstId named Location types
This commit is contained in:
parent
6b3659d38f
commit
abe249559d
12 changed files with 90 additions and 70 deletions
|
@ -473,6 +473,8 @@ impl CrateGraph {
|
|||
self.arena.iter().map(|(idx, _)| idx)
|
||||
}
|
||||
|
||||
// FIXME: used for `handle_hack_cargo_workspace`, should be removed later
|
||||
#[doc(hidden)]
|
||||
pub fn iter_mut(&mut self) -> impl Iterator<Item = (CrateId, &mut CrateData)> + '_ {
|
||||
self.arena.iter_mut()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue