#[derive(Debug, Copy, Clone, PartialEq, Eq)]
pub enum ErrorHandled {
- /// Already reported a lint or an error for this evaluation
+ /// Already reported a lint or an error for this evaluation.
Reported,
/// Don't emit an error, the evaluation failed because the MIR was generic
/// and the substs didn't fully monomorphize it.
#[derive(Clone, RustcEncodable, RustcDecodable)]
pub enum EvalErrorKind<'tcx, O> {
/// This variant is used by machines to signal their own errors that do not
- /// match an existing variant
+ /// match an existing variant.
MachineError(String),
FunctionAbiMismatch(Abi, Abi),