make the backtrace field of EvalError private
This also makes sure people don't contruct these the wrong way
This commit is contained in:
parent
ca1bcfdde3
commit
625763fddd
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@ pub fn struct_error<'a, 'gcx, 'tcx>(
|
|||
#[derive(Debug, Clone)]
|
||||
pub struct EvalError<'tcx> {
|
||||
pub kind: InterpError<'tcx, u64>,
|
||||
pub backtrace: Option<Box<Backtrace>>,
|
||||
backtrace: Option<Box<Backtrace>>,
|
||||
}
|
||||
|
||||
impl<'tcx> EvalError<'tcx> {
|
||||
|
|
Loading…
Reference in a new issue