Skip to content

Commit 1a53e93

Browse files
committed
Migrate symbols to use declarative macro.
1 parent ce1a813 commit 1a53e93

File tree

7 files changed

+164
-349
lines changed

7 files changed

+164
-349
lines changed

compiler/rustc_macros/src/lib.rs

-6
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,13 @@ mod newtype;
1313
mod query;
1414
mod serialize;
1515
mod session_diagnostic;
16-
mod symbols;
1716
mod type_foldable;
1817

1918
#[proc_macro]
2019
pub fn rustc_queries(input: TokenStream) -> TokenStream {
2120
query::rustc_queries(input)
2221
}
2322

24-
#[proc_macro]
25-
pub fn symbols(input: TokenStream) -> TokenStream {
26-
symbols::symbols(input.into()).into()
27-
}
28-
2923
/// Creates a struct type `S` that can be used as an index with
3024
/// `IndexVec` and so on.
3125
///

compiler/rustc_macros/src/symbols.rs

-236
This file was deleted.

compiler/rustc_macros/src/symbols/tests.rs

-102
This file was deleted.

0 commit comments

Comments
 (0)