mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-04 11:04:03 +00:00
Update compiler/rustc_metadata/src/creader.rs
Co-authored-by: Camille Gillot <gillot.camille@gmail.com>
This commit is contained in:
parent
674a3d5c1c
commit
ffef807889
@ -564,7 +564,7 @@ impl<'a, 'tcx> CrateLoader<'a, 'tcx> {
|
||||
dep_kind = CrateDepKind::MacrosOnly;
|
||||
}
|
||||
data.update_dep_kind(|data_dep_kind| cmp::max(data_dep_kind, dep_kind));
|
||||
data.update_private_dep(|private_dep| private_dep && private_dep);
|
||||
data.update_private_dep(|p_d| p_d && private_dep);
|
||||
Ok(cnum)
|
||||
}
|
||||
(LoadResult::Loaded(library), host_library) => {
|
||||
|
Loading…
Reference in New Issue
Block a user