There will never be a PrimVal for fat pointers.
Instead, there will be a `Value::ByValPair` variant for holding fat pointers (among other things) modelled after `OperandValue::Pair` in rustc's trans.
This commit is contained in:
parent
6c306f2254
commit
85cba42a7b
1 changed files with 1 additions and 1 deletions
|
@ -1006,7 +1006,7 @@ impl<'a, 'tcx> EvalContext<'a, 'tcx> {
|
|||
Err(e) => return Err(e),
|
||||
}
|
||||
} else {
|
||||
return Err(EvalError::Unimplemented(format!("unimplemented: primitive read of fat pointer type: {:?}", ty)));
|
||||
bug!("primitive read of fat pointer type: {:?}", ty);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue