Skip to content

Commit 1f8e8fe

Browse files
notriddlecjgillot
andcommitted
Update compiler/rustc_metadata/src/creader.rs
Co-authored-by: Camille Gillot <[email protected]>
1 parent 7c673c6 commit 1f8e8fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_metadata/src/creader.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ impl<'a, 'tcx> CrateLoader<'a, 'tcx> {
560560
dep_kind = CrateDepKind::MacrosOnly;
561561
}
562562
data.update_dep_kind(|data_dep_kind| cmp::max(data_dep_kind, dep_kind));
563-
data.update_private_dep(|private_dep| private_dep && private_dep);
563+
data.update_private_dep(|p_d| p_d && private_dep);
564564
Ok(cnum)
565565
}
566566
(LoadResult::Loaded(library), host_library) => {

0 commit comments

Comments
 (0)