diff options
| -rw-r--r-- | src/librustc_mir/transform/check_consts/mod.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/librustc_mir/transform/check_consts/mod.rs b/src/librustc_mir/transform/check_consts/mod.rs index 61496ebb442..427d53397d5 100644 --- a/src/librustc_mir/transform/check_consts/mod.rs +++ b/src/librustc_mir/transform/check_consts/mod.rs @@ -20,11 +20,11 @@ pub mod validation; /// Information about the item currently being const-checked, as well as a reference to the global /// context. pub struct Item<'mir, 'tcx> { - body: &'mir mir::Body<'tcx>, - tcx: TyCtxt<'tcx>, - def_id: DefId, - param_env: ty::ParamEnv<'tcx>, - const_kind: Option<ConstKind>, + pub body: &'mir mir::Body<'tcx>, + pub tcx: TyCtxt<'tcx>, + pub def_id: DefId, + pub param_env: ty::ParamEnv<'tcx>, + pub const_kind: Option<ConstKind>, } impl Item<'mir, 'tcx> { |
