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`).
This commit is contained in:
Nicholas Nethercote
2024-05-06 13:51:15 +10:00
parent d3d01e1cd3
commit 58a06b6a99
3 changed files with 19 additions and 51 deletions

View File

@@ -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;