diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-12-08 12:57:32 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-08 12:57:32 +0100 |
| commit | fbfc5ada029dd7892cbdb64a7f6cffee7f898385 (patch) | |
| tree | 6d0c14a26a4b1c031f34dd2341d690520f00e00e /compiler/rustc_codegen_ssa/src/back | |
| parent | 2fbde2b028126f20fbf4dbca58a7cdbd7f93a456 (diff) | |
| parent | d30848b30a4ba328b482e2e601de7517be2e5397 (diff) | |
| download | rust-fbfc5ada029dd7892cbdb64a7f6cffee7f898385.tar.gz rust-fbfc5ada029dd7892cbdb64a7f6cffee7f898385.zip | |
Rollup merge of #105423 - oli-obk:symbols, r=jackh726
Use `Symbol` for the crate name instead of `String`/`str` It always got converted to a symbol anyway
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/back')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/back/link.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_ssa/src/back/link.rs b/compiler/rustc_codegen_ssa/src/back/link.rs index 540f15c89e9..882430694e1 100644 --- a/compiler/rustc_codegen_ssa/src/back/link.rs +++ b/compiler/rustc_codegen_ssa/src/back/link.rs @@ -102,7 +102,7 @@ pub fn link_binary<'a>( sess, crate_type, outputs, - codegen_results.crate_info.local_crate_name.as_str(), + codegen_results.crate_info.local_crate_name, ); match crate_type { CrateType::Rlib => { |
