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_resolve/src | |
| 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_resolve/src')
| -rw-r--r-- | compiler/rustc_resolve/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_resolve/src/lib.rs b/compiler/rustc_resolve/src/lib.rs index 4ef89cfb255..82f5d0f534a 100644 --- a/compiler/rustc_resolve/src/lib.rs +++ b/compiler/rustc_resolve/src/lib.rs @@ -1196,7 +1196,7 @@ impl<'a> Resolver<'a> { pub fn new( session: &'a Session, krate: &Crate, - crate_name: &str, + crate_name: Symbol, metadata_loader: Box<MetadataLoaderDyn>, arenas: &'a ResolverArenas<'a>, ) -> Resolver<'a> { |
