Skip to content

Commit 22a25d9

Browse files
nikomatsakiscsmoe
andcommitted
make depth private
Co-authored-by: csmoe <[email protected]>
1 parent 7e15e0b commit 22a25d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/ty/sty.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1025,7 +1025,7 @@ impl<'a, 'gcx, 'tcx> ParamTy {
10251025
pub struct DebruijnIndex {
10261026
/// We maintain the invariant that this is never 0. So 1 indicates
10271027
/// the innermost binder.
1028-
pub depth: u32,
1028+
depth: u32,
10291029
}
10301030

10311031
pub type Region<'tcx> = &'tcx RegionKind;

0 commit comments

Comments
 (0)