diff options
| author | est31 <MTest31@outlook.com> | 2023-04-22 16:29:34 +0200 |
|---|---|---|
| committer | est31 <MTest31@outlook.com> | 2023-05-05 21:44:13 +0200 |
| commit | 5eb29c7f49c2d99e9bfc778f30984f7fdcf5fc08 (patch) | |
| tree | 488994893924ca3c1a51acf4e5cadb46949a905c /compiler/rustc_builtin_macros/src/lib.rs | |
| parent | 59ecbd2cea20839f1288b917cbf5ba8c23864df7 (diff) | |
| download | rust-5eb29c7f49c2d99e9bfc778f30984f7fdcf5fc08.tar.gz rust-5eb29c7f49c2d99e9bfc778f30984f7fdcf5fc08.zip | |
Migrate offset_of from a macro to builtin # syntax
Diffstat (limited to 'compiler/rustc_builtin_macros/src/lib.rs')
| -rw-r--r-- | compiler/rustc_builtin_macros/src/lib.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/rustc_builtin_macros/src/lib.rs b/compiler/rustc_builtin_macros/src/lib.rs index c7da61d72b3..4e5edb4d6b1 100644 --- a/compiler/rustc_builtin_macros/src/lib.rs +++ b/compiler/rustc_builtin_macros/src/lib.rs @@ -44,7 +44,6 @@ mod format; mod format_foreign; mod global_allocator; mod log_syntax; -mod offset_of; mod source_util; mod test; mod trace_macros; @@ -92,7 +91,6 @@ pub fn register_builtin_macros(resolver: &mut dyn ResolverExpand) { line: source_util::expand_line, log_syntax: log_syntax::expand_log_syntax, module_path: source_util::expand_mod, - offset_of: offset_of::expand_offset_of, option_env: env::expand_option_env, core_panic: edition_panic::expand_panic, std_panic: edition_panic::expand_panic, |
