diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2021-05-29 12:09:23 +0200 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2021-05-30 12:51:34 +0200 |
| commit | d0ec85d3fb6d322496cb8f4bc1c21e19f23284ad (patch) | |
| tree | 2f33690d8348ae40a75c70eedf277e61d9e78093 /compiler/rustc_resolve/src | |
| parent | d93b6a4598946a6a97e8f1b073b1cfc08d332a86 (diff) | |
| download | rust-d0ec85d3fb6d322496cb8f4bc1c21e19f23284ad.tar.gz rust-d0ec85d3fb6d322496cb8f4bc1c21e19f23284ad.zip | |
Merge CrateDisambiguator into StableCrateId
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 76d845f782e..29d4271c475 100644 --- a/compiler/rustc_resolve/src/lib.rs +++ b/compiler/rustc_resolve/src/lib.rs @@ -1222,7 +1222,7 @@ impl<'a> Resolver<'a> { let mut module_map = FxHashMap::default(); module_map.insert(root_local_def_id, graph_root); - let definitions = Definitions::new(crate_name, session.local_crate_disambiguator()); + let definitions = Definitions::new(session.local_stable_crate_id()); let root = definitions.get_root_def(); let mut visibilities = FxHashMap::default(); |
