Skip to content

Commit

Permalink
make depth private
Browse files Browse the repository at this point in the history
Co-authored-by: csmoe <35686186+csmoe@users.noreply.github.com>
  • Loading branch information
nikomatsakis and csmoe committed May 28, 2018
1 parent 7e15e0b commit 22a25d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc/ty/sty.rs
Expand Up @@ -1025,7 +1025,7 @@ impl<'a, 'gcx, 'tcx> ParamTy {
pub struct DebruijnIndex {
/// We maintain the invariant that this is never 0. So 1 indicates
/// the innermost binder.
pub depth: u32,
depth: u32,
}

pub type Region<'tcx> = &'tcx RegionKind;
Expand Down

0 comments on commit 22a25d9

Please sign in to comment.