Skip to content

Commit

Permalink
Remove invalid #[cfg(tests)] in index_map
Browse files Browse the repository at this point in the history
  • Loading branch information
Urgau committed Mar 4, 2022
1 parent 65f6d33 commit 08e1e67
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions compiler/rustc_data_structures/src/sorted_map/index_map.rs
Expand Up @@ -152,6 +152,3 @@ impl<I: Idx, K, V> std::ops::Index<I> for SortedIndexMultiMap<I, K, V> {
&self.items[idx].1
}
}

#[cfg(tests)]
mod tests;

0 comments on commit 08e1e67

Please sign in to comment.