diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2021-07-12 21:20:16 +0200 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2021-07-14 16:37:56 +0200 |
| commit | 3fba5a484437ab20b864ea273571bf2332f031d0 (patch) | |
| tree | e14d42eedc5d5cf27b01537d09cf64b211329482 /compiler/rustc_resolve | |
| parent | a08f25a7ef2800af5525762e981c24d96c14febe (diff) | |
| download | rust-3fba5a484437ab20b864ea273571bf2332f031d0.tar.gz rust-3fba5a484437ab20b864ea273571bf2332f031d0.zip | |
Shrink the CrateStore dynamic interface.
Diffstat (limited to 'compiler/rustc_resolve')
| -rw-r--r-- | compiler/rustc_resolve/src/build_reduced_graph.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_resolve/src/build_reduced_graph.rs b/compiler/rustc_resolve/src/build_reduced_graph.rs index f91bf0cbab7..35e7688fbe4 100644 --- a/compiler/rustc_resolve/src/build_reduced_graph.rs +++ b/compiler/rustc_resolve/src/build_reduced_graph.rs @@ -128,7 +128,7 @@ impl<'a> Resolver<'a> { let (name, parent) = if def_id.index == CRATE_DEF_INDEX { // This is the crate root - (self.cstore().crate_name_untracked(def_id.krate), None) + (self.cstore().crate_name(def_id.krate), None) } else { let def_key = self.cstore().def_key(def_id); let name = def_key |
