@@ -363,7 +363,7 @@ impl fmt::Debug for UndefinedBehaviorInfo {
363
363
#[ derive( Clone , RustcEncodable , RustcDecodable , HashStable ) ]
364
364
pub enum UnsupportedOpInfo < ' tcx > {
365
365
/// Handle cases which for which we do not have a fixed variant.
366
- Unimplemented ( String ) ,
366
+ Unsupported ( String ) ,
367
367
368
368
// -- Everything below is not classified yet --
369
369
FunctionAbiMismatch ( Abi , Abi ) ,
@@ -390,20 +390,14 @@ pub enum UnsupportedOpInfo<'tcx> {
390
390
ReadUndefBytes ( Size ) ,
391
391
DeadLocal ,
392
392
InvalidBoolOp ( mir:: BinOp ) ,
393
- InlineAsm ,
394
393
UnimplementedTraitSelection ,
395
394
CalledClosureAsFunction ,
396
395
NoMirFor ( String ) ,
397
- /// This variant is used by machines to signal their own errors that do not
398
- /// match an existing variant.
399
- MachineError ( String ) ,
400
396
DerefFunctionPointer ,
401
397
ExecuteMemory ,
402
- Intrinsic ( String ) ,
403
398
InvalidChar ( u128 ) ,
404
399
OutOfTls ,
405
400
TlsOutOfBounds ,
406
- AbiViolation ( String ) ,
407
401
AlignmentCheckFailed {
408
402
required : Align ,
409
403
has : Align ,
@@ -513,8 +507,6 @@ impl fmt::Debug for UnsupportedOpInfo<'tcx> {
513
507
initializer") ,
514
508
AssumptionNotHeld =>
515
509
write ! ( f, "`assume` argument was false" ) ,
516
- InlineAsm =>
517
- write ! ( f, "miri does not support inline assembly" ) ,
518
510
ReallocateNonBasePtr =>
519
511
write ! ( f, "tried to reallocate with a pointer not to the beginning of an \
520
512
existing object") ,
@@ -537,10 +529,7 @@ impl fmt::Debug for UnsupportedOpInfo<'tcx> {
537
529
HeapAllocNonPowerOfTwoAlignment ( _) =>
538
530
write ! ( f, "tried to re-, de-, or allocate heap memory with alignment that is \
539
531
not a power of two") ,
540
- MachineError ( ref msg) |
541
- Unimplemented ( ref msg) |
542
- AbiViolation ( ref msg) |
543
- Intrinsic ( ref msg) =>
532
+ Unsupported ( ref msg) =>
544
533
write ! ( f, "{}" , msg) ,
545
534
}
546
535
}
0 commit comments