Skip to content

Commit ffef807

Browse files
notriddlecjgillot
andcommitted
Update compiler/rustc_metadata/src/creader.rs
Co-authored-by: Camille Gillot <gillot.camille@gmail.com>
1 parent 674a3d5 commit ffef807

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
@@ -564,7 +564,7 @@ impl<'a, 'tcx> CrateLoader<'a, 'tcx> {
564564
dep_kind = CrateDepKind::MacrosOnly;
565565
}
566566
data.update_dep_kind(|data_dep_kind| cmp::max(data_dep_kind, dep_kind));
567-
data.update_private_dep(|private_dep| private_dep && private_dep);
567+
data.update_private_dep(|p_d| p_d && private_dep);
568568
Ok(cnum)
569569
}
570570
(LoadResult::Loaded(library), host_library) => {

0 commit comments

Comments
 (0)