Rollup merge of #108724 - tshepang:de-public, r=compiler-errors

field is not used outside the crate

See b61a28b2a1db297ed3bd15a3c5ac5c8c40feb586
This commit is contained in:
Matthias Krüger 2023-03-04 20:48:18 +01:00 committed by GitHub
commit 76490b9235
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -94,10 +94,10 @@ pub(crate) type UnificationTable<'a, 'tcx, T> = ut::UnificationTable<
/// call to `start_snapshot` and `rollback_to`. /// call to `start_snapshot` and `rollback_to`.
#[derive(Clone)] #[derive(Clone)]
pub struct InferCtxtInner<'tcx> { pub struct InferCtxtInner<'tcx> {
/// Cache for projections. This cache is snapshotted along with the infcx. /// Cache for projections.
/// ///
/// Public so that `traits::project` can use it. /// This cache is snapshotted along with the infcx.
pub projection_cache: traits::ProjectionCacheStorage<'tcx>, projection_cache: traits::ProjectionCacheStorage<'tcx>,
/// We instantiate `UnificationTable` with `bounds<Ty>` because the types /// We instantiate `UnificationTable` with `bounds<Ty>` because the types
/// that might instantiate a general type variable have an order, /// that might instantiate a general type variable have an order,