diff options
| author | Jakub Beránek <berykubik@gmail.com> | 2025-06-20 20:03:24 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-20 20:03:24 +0200 |
| commit | 31663db8965dd30d07ee700631a6f67c12fe0e19 (patch) | |
| tree | b131484b5b4c79b1879c9b87f32ce432fc447e23 /compiler/rustc_builtin_macros/src/proc_macro_harness.rs | |
| parent | 74cea635e1b14337acd5c06d8b21a24f01e5002e (diff) | |
| parent | b95d39d37ae99bca1e9938738ec2c0e3724eefb1 (diff) | |
| download | rust-31663db8965dd30d07ee700631a6f67c12fe0e19.tar.gz rust-31663db8965dd30d07ee700631a6f67c12fe0e19.zip | |
Rollup merge of #142767 - nnethercote:symbol-cleanups, r=petrochenkov
Some symbol and PathRoot cleanups I'm looking into unifying how we join and print paths. Here are some preliminary cleanups. r? ``@petrochenkov``
Diffstat (limited to 'compiler/rustc_builtin_macros/src/proc_macro_harness.rs')
| -rw-r--r-- | compiler/rustc_builtin_macros/src/proc_macro_harness.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_builtin_macros/src/proc_macro_harness.rs b/compiler/rustc_builtin_macros/src/proc_macro_harness.rs index daf480a9ce4..42b7e0e06d1 100644 --- a/compiler/rustc_builtin_macros/src/proc_macro_harness.rs +++ b/compiler/rustc_builtin_macros/src/proc_macro_harness.rs @@ -56,7 +56,7 @@ pub fn inject( is_test_crate: bool, dcx: DiagCtxtHandle<'_>, ) { - let ecfg = ExpansionConfig::default("proc_macro".to_string(), features); + let ecfg = ExpansionConfig::default(sym::proc_macro, features); let mut cx = ExtCtxt::new(sess, ecfg, resolver, None); let mut collect = CollectProcMacros { |
