about summary refs log tree commit diff
path: root/compiler/rustc_data_structures/src
diff options
context:
space:
mode:
authorLoïc BRANSTETT <lolo.branstett@numericable.fr>2022-02-23 18:22:28 +0100
committerLoïc BRANSTETT <lolo.branstett@numericable.fr>2022-03-04 11:34:50 +0100
commit08e1e67b490253deed9b91761d95fe80a2f48cd6 (patch)
tree03cd8716660e87d6780b26698c3e49606db2a17d /compiler/rustc_data_structures/src
parent65f6d33b775eddfc0128c04083bbf3beea360114 (diff)
downloadrust-08e1e67b490253deed9b91761d95fe80a2f48cd6.tar.gz
rust-08e1e67b490253deed9b91761d95fe80a2f48cd6.zip
Remove invalid #[cfg(tests)] in index_map
Diffstat (limited to 'compiler/rustc_data_structures/src')
-rw-r--r--compiler/rustc_data_structures/src/sorted_map/index_map.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler/rustc_data_structures/src/sorted_map/index_map.rs b/compiler/rustc_data_structures/src/sorted_map/index_map.rs
index 593316e2699..0ec32dc4307 100644
--- a/compiler/rustc_data_structures/src/sorted_map/index_map.rs
+++ b/compiler/rustc_data_structures/src/sorted_map/index_map.rs
@@ -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;