about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/passes.rs
diff options
context:
space:
mode:
authorJakub Beránek <berykubik@gmail.com>2025-06-20 20:03:24 +0200
committerGitHub <noreply@github.com>2025-06-20 20:03:24 +0200
commit31663db8965dd30d07ee700631a6f67c12fe0e19 (patch)
treeb131484b5b4c79b1879c9b87f32ce432fc447e23 /compiler/rustc_interface/src/passes.rs
parent74cea635e1b14337acd5c06d8b21a24f01e5002e (diff)
parentb95d39d37ae99bca1e9938738ec2c0e3724eefb1 (diff)
downloadrust-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_interface/src/passes.rs')
-rw-r--r--compiler/rustc_interface/src/passes.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_interface/src/passes.rs b/compiler/rustc_interface/src/passes.rs
index 70ae9147fb1..201b7e2b940 100644
--- a/compiler/rustc_interface/src/passes.rs
+++ b/compiler/rustc_interface/src/passes.rs
@@ -192,7 +192,7 @@ fn configure_and_expand(
         // Create the config for macro expansion
         let recursion_limit = get_recursion_limit(pre_configured_attrs, sess);
         let cfg = rustc_expand::expand::ExpansionConfig {
-            crate_name: crate_name.to_string(),
+            crate_name,
             features,
             recursion_limit,
             trace_mac: sess.opts.unstable_opts.trace_macros,