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
1 changed files with 1 additions and 1 deletions
|
@ -564,7 +564,7 @@ impl<'a, 'tcx> CrateLoader<'a, 'tcx> {
|
||||||
dep_kind = CrateDepKind::MacrosOnly;
|
dep_kind = CrateDepKind::MacrosOnly;
|
||||||
}
|
}
|
||||||
data.update_dep_kind(|data_dep_kind| cmp::max(data_dep_kind, dep_kind));
|
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)
|
Ok(cnum)
|
||||||
}
|
}
|
||||||
(LoadResult::Loaded(library), host_library) => {
|
(LoadResult::Loaded(library), host_library) => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue