diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-05-06 13:51:15 +1000 | 
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-05-09 09:01:59 +1000 | 
| commit | 58a06b6a9986149937d7efa97eba83df207a1c7c (patch) | |
| tree | 9edca3f777615eafe3f9e544b56c8703cd768b65 /compiler/rustc_data_structures/src/lib.rs | |
| parent | d3d01e1cd3a4157692e136f3a1f8e0a5e37f3e36 (diff) | |
| download | rust-58a06b6a9986149937d7efa97eba83df207a1c7c.tar.gz rust-58a06b6a9986149937d7efa97eba83df207a1c7c.zip | |
Remove `enum_from_u32`.
It's a macro that just creates an enum with a `from_u32` method. It has two arms. One is unused and the other has a single use. This commit inlines that single use and removes the whole macro. This increases readability because we don't have two different macros interacting (`enum_from_u32` and `language_item_table`).
Diffstat (limited to 'compiler/rustc_data_structures/src/lib.rs')
| -rw-r--r-- | compiler/rustc_data_structures/src/lib.rs | 1 | 
1 files changed, 0 insertions, 1 deletions
| diff --git a/compiler/rustc_data_structures/src/lib.rs b/compiler/rustc_data_structures/src/lib.rs index 407ee0453e5..85b5a3cdb7c 100644 --- a/compiler/rustc_data_structures/src/lib.rs +++ b/compiler/rustc_data_structures/src/lib.rs @@ -62,7 +62,6 @@ pub mod fx; pub mod graph; pub mod intern; pub mod jobserver; -pub mod macros; pub mod marker; pub mod memmap; pub mod obligation_forest; | 
