1
Fork 0
rust/compiler/rustc_passes/src
bors be9cfb307e Auto merge of #99058 - michaelwoerister:remove-stable-set-and-map, r=nagisa
Remove the unused StableSet and StableMap types from rustc_data_structures.

The current implementation is not "stable" in the same sense that `HashStable` and `StableHasher` are stable, i.e. across compilation sessions. So, in my opinion, it's better to remove those types (which are basically unused anyway) than to give the wrong impression that these are safe for incr. comp.

I plan to provide new "stable" collection types soon that can be used to replace `FxHashMap` and `FxHashSet` in query results (see [draft](69d03ac7a7)). It's unsound that `HashMap` and `HashSet` implement `HashStable` (see https://github.com/rust-lang/rust/issues/98890 for a recent P-critical bug caused by this) -- so we should make some progress there.
2022-07-20 22:19:30 +00:00
..
liveness Use iter::zip in compiler/ 2021-03-26 09:32:31 -07:00
check_attr.rs rustdoc: extend #[doc(tuple_variadic)] to fn pointers 2022-07-17 16:32:06 -07:00
check_const.rs Rename debugging_opts to unstable_opts 2022-07-13 17:47:06 -05:00
dead.rs Rewrite dead-code pass to avoid fetching HIR. 2022-06-22 20:48:18 +02:00
debugger_visualizer.rs Respond to PR comments. 2022-05-25 10:44:56 -07:00
diagnostic_items.rs remove DiagnosticItemCollector 2022-05-13 11:46:05 -04:00
entry.rs avoid Symbol to &str conversions 2022-07-18 14:25:34 +09:00
errors.rs rustdoc: extend #[doc(tuple_variadic)] to fn pointers 2022-07-17 16:32:06 -07:00
hir_id_validator.rs Rename debugging_opts to unstable_opts 2022-07-13 17:47:06 -05:00
hir_stats.rs move else block into the Local struct 2022-07-11 23:20:37 +02:00
lang_items.rs use def_span and def_kind queries instead of calling tcx.hir() methods 2022-05-06 12:11:05 -04:00
layout_test.rs remove LayoutTest 2022-05-13 11:46:05 -04:00
lib.rs Stabilize let_chains 2022-07-16 20:17:58 -03:00
lib_features.rs passes: check implied feature exists 2022-07-20 15:50:59 +01:00
liveness.rs move else block into the Local struct 2022-07-11 23:20:37 +02:00
loops.rs Add an indirection for closures in hir::ExprKind 2022-07-12 21:00:13 +04:00
naked_functions.rs Reword comments and rename HIR visiting methods. 2022-07-07 16:01:43 +02:00
reachable.rs Add an indirection for closures in hir::ExprKind 2022-07-12 21:00:13 +04:00
stability.rs passes: check implied feature exists 2022-07-20 15:50:59 +01:00
upvars.rs Make ExprKind::Closure a struct variant. 2022-06-12 00:16:27 +02:00
weak_lang_items.rs Use FxIndexMap instead of otherwise unused StableMap for WEAK_ITEMS_REFS. 2022-07-20 12:40:51 +02:00