diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2018-05-28 12:56:56 -0400 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2018-05-28 19:47:05 -0400 |
| commit | 22a25d9b497ff564ce3c0b3bdd0c5c6bc234e04d (patch) | |
| tree | aef9490bcf5955f3ffa32b3a9627cd33102f43c9 | |
| parent | 7e15e0baffac2a4d613ae0340a98b04307f3c123 (diff) | |
make depth private
Co-authored-by: csmoe <35686186+csmoe@users.noreply.github.com>
| -rw-r--r-- | src/librustc/ty/sty.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/ty/sty.rs b/src/librustc/ty/sty.rs index b03930432a9..10cf9a4d692 100644 --- a/src/librustc/ty/sty.rs +++ b/src/librustc/ty/sty.rs @@ -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; |
