diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-10-16 16:50:25 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-10-17 16:26:35 +1100 |
| commit | 847c8ba70df6fd5772ad7e7f0df8cc3617812ea3 (patch) | |
| tree | e16a81c34174750e5ac525f665d4239a67953bdd /compiler/rustc_data_structures/src/lib.rs | |
| parent | 4175c9b59546b78d7bab2d17a5e8c87fc633b4a5 (diff) | |
| download | rust-847c8ba70df6fd5772ad7e7f0df8cc3617812ea3.tar.gz rust-847c8ba70df6fd5772ad7e7f0df8cc3617812ea3.zip | |
Remove `IdFunctor` trait.
It's defined in `rustc_data_structures` but is only used in `rustc_type_ir`. The code is shorter and easier to read if we remove this layer of abstraction and just do the things directly where they are needed.
Diffstat (limited to 'compiler/rustc_data_structures/src/lib.rs')
| -rw-r--r-- | compiler/rustc_data_structures/src/lib.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler/rustc_data_structures/src/lib.rs b/compiler/rustc_data_structures/src/lib.rs index 1d1a5b4d5ee..4dd4ade4e6b 100644 --- a/compiler/rustc_data_structures/src/lib.rs +++ b/compiler/rustc_data_structures/src/lib.rs @@ -18,14 +18,12 @@ #![feature(min_specialization)] #![feature(never_type)] #![feature(type_alias_impl_trait)] -#![feature(new_uninit)] #![feature(lazy_cell)] #![feature(rustc_attrs)] #![feature(negative_impls)] #![feature(test)] #![feature(thread_id_value)] #![feature(allocator_api)] -#![feature(get_mut_unchecked)] #![feature(lint_reasons)] #![feature(unwrap_infallible)] #![feature(strict_provenance)] @@ -61,7 +59,6 @@ pub mod binary_search_util; pub mod captures; pub mod flat_map_in_place; pub mod flock; -pub mod functor; pub mod fx; pub mod graph; pub mod intern; |
