Skip to content

Commit 4b92024

Browse files
committed
field is not used outside the crate
See b61a28b
1 parent 70adb4e commit 4b92024

File tree

1 file changed

+3
-3
lines changed
  • compiler/rustc_infer/src/infer

1 file changed

+3
-3
lines changed

compiler/rustc_infer/src/infer/mod.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,10 @@ pub(crate) type UnificationTable<'a, 'tcx, T> = ut::UnificationTable<
9494
/// call to `start_snapshot` and `rollback_to`.
9595
#[derive(Clone)]
9696
pub struct InferCtxtInner<'tcx> {
97-
/// Cache for projections. This cache is snapshotted along with the infcx.
97+
/// Cache for projections.
9898
///
99-
/// Public so that `traits::project` can use it.
100-
pub projection_cache: traits::ProjectionCacheStorage<'tcx>,
99+
/// This cache is snapshotted along with the infcx.
100+
projection_cache: traits::ProjectionCacheStorage<'tcx>,
101101

102102
/// We instantiate `UnificationTable` with `bounds<Ty>` because the types
103103
/// that might instantiate a general type variable have an order,

0 commit comments

Comments
 (0)