@@ -313,7 +313,7 @@ impl InlineAsmReg {
313
313
Self :: RiscV ( r) => r. emit ( out, arch, modifier) ,
314
314
Self :: Hexagon ( r) => r. emit ( out, arch, modifier) ,
315
315
Self :: Mips ( r) => r. emit ( out, arch, modifier) ,
316
- Self :: Err => unreachable ! ( ) ,
316
+ Self :: Err => unreachable ! ( "Use of InlineAsmReg::Err" ) ,
317
317
}
318
318
}
319
319
@@ -325,7 +325,7 @@ impl InlineAsmReg {
325
325
Self :: RiscV ( _) => cb ( self ) ,
326
326
Self :: Hexagon ( r) => r. overlapping_regs ( |r| cb ( Self :: Hexagon ( r) ) ) ,
327
327
Self :: Mips ( _) => cb ( self ) ,
328
- Self :: Err => unreachable ! ( ) ,
328
+ Self :: Err => unreachable ! ( "Use of InlineAsmReg::Err" ) ,
329
329
}
330
330
}
331
331
}
@@ -386,7 +386,7 @@ impl InlineAsmRegClass {
386
386
Self :: Mips ( r) => r. suggest_class ( arch, ty) . map ( InlineAsmRegClass :: Mips ) ,
387
387
Self :: SpirV ( r) => r. suggest_class ( arch, ty) . map ( InlineAsmRegClass :: SpirV ) ,
388
388
Self :: Wasm ( r) => r. suggest_class ( arch, ty) . map ( InlineAsmRegClass :: Wasm ) ,
389
- Self :: Err => unreachable ! ( ) ,
389
+ Self :: Err => unreachable ! ( "Use of InlineAsmRegClass::Err" ) ,
390
390
}
391
391
}
392
392
@@ -411,7 +411,7 @@ impl InlineAsmRegClass {
411
411
Self :: Mips ( r) => r. suggest_modifier ( arch, ty) ,
412
412
Self :: SpirV ( r) => r. suggest_modifier ( arch, ty) ,
413
413
Self :: Wasm ( r) => r. suggest_modifier ( arch, ty) ,
414
- Self :: Err => unreachable ! ( ) ,
414
+ Self :: Err => unreachable ! ( "Use of InlineAsmRegClass::Err" ) ,
415
415
}
416
416
}
417
417
@@ -432,7 +432,7 @@ impl InlineAsmRegClass {
432
432
Self :: Mips ( r) => r. default_modifier ( arch) ,
433
433
Self :: SpirV ( r) => r. default_modifier ( arch) ,
434
434
Self :: Wasm ( r) => r. default_modifier ( arch) ,
435
- Self :: Err => unreachable ! ( ) ,
435
+ Self :: Err => unreachable ! ( "Use of InlineAsmRegClass::Err" ) ,
436
436
}
437
437
}
438
438
@@ -452,7 +452,7 @@ impl InlineAsmRegClass {
452
452
Self :: Mips ( r) => r. supported_types ( arch) ,
453
453
Self :: SpirV ( r) => r. supported_types ( arch) ,
454
454
Self :: Wasm ( r) => r. supported_types ( arch) ,
455
- Self :: Err => unreachable ! ( ) ,
455
+ Self :: Err => unreachable ! ( "Use of InlineAsmRegClass::Err" ) ,
456
456
}
457
457
}
458
458
@@ -489,7 +489,7 @@ impl InlineAsmRegClass {
489
489
Self :: Mips ( r) => r. valid_modifiers ( arch) ,
490
490
Self :: SpirV ( r) => r. valid_modifiers ( arch) ,
491
491
Self :: Wasm ( r) => r. valid_modifiers ( arch) ,
492
- Self :: Err => unreachable ! ( ) ,
492
+ Self :: Err => unreachable ! ( "Use of InlineAsmRegClass::Err" ) ,
493
493
}
494
494
}
495
495
}
0 commit comments