Skip to content

Commit a75c792

Browse files
Make type alias private
1 parent 413a129 commit a75c792

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_mir/transform/check_consts/validation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ use crate::dataflow::{self, Analysis};
2828
// We are using `MaybeMutBorrowedLocals` as a proxy for whether an item may have been mutated
2929
// through a pointer prior to the given point. This is okay even though `MaybeMutBorrowedLocals`
3030
// kills locals upon `StorageDead` because a local will never be used after a `StorageDead`.
31-
pub type IndirectlyMutableResults<'mir, 'tcx> =
31+
type IndirectlyMutableResults<'mir, 'tcx> =
3232
dataflow::ResultsCursor<'mir, 'tcx, MaybeMutBorrowedLocals<'mir, 'tcx>>;
3333

3434
struct QualifCursor<'a, 'mir, 'tcx, Q: Qualif> {

0 commit comments

Comments
 (0)