Update docs and visibilities of const to op methods
This commit is contained in:
parent
4fdeb2da74
commit
4b085337bb
1 changed files with 3 additions and 3 deletions
|
|
@ -561,7 +561,7 @@ impl<'a, 'mir, 'tcx, M: Machine<'a, 'mir, 'tcx>> EvalContext<'a, 'mir, 'tcx, M>
|
|||
.collect()
|
||||
}
|
||||
|
||||
// Used when Miri runs into a constant, and by CTFE.
|
||||
// Used when Miri runs into a constant, and by const propagation.
|
||||
pub fn eval_lazy_const_to_op(
|
||||
&self,
|
||||
val: ty::LazyConst<'tcx>,
|
||||
|
|
@ -580,8 +580,8 @@ impl<'a, 'mir, 'tcx, M: Machine<'a, 'mir, 'tcx>> EvalContext<'a, 'mir, 'tcx, M>
|
|||
}
|
||||
}
|
||||
|
||||
// Used when Miri runs into a constant, and by CTFE.
|
||||
pub fn const_to_op(
|
||||
// Used when the miri-engine runs into a constant.
|
||||
crate fn const_to_op(
|
||||
&self,
|
||||
val: ty::Const<'tcx>,
|
||||
layout: Option<TyLayout<'tcx>>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue