@@ -313,7 +313,7 @@ impl InlineAsmReg {
313313 Self :: RiscV ( r) => r. emit ( out, arch, modifier) ,
314314 Self :: Hexagon ( r) => r. emit ( out, arch, modifier) ,
315315 Self :: Mips ( r) => r. emit ( out, arch, modifier) ,
316- Self :: Err => unreachable ! ( ) ,
316+ Self :: Err => unreachable ! ( "Use of InlineAsmReg::Err" ) ,
317317 }
318318 }
319319
@@ -325,7 +325,7 @@ impl InlineAsmReg {
325325 Self :: RiscV ( _) => cb ( self ) ,
326326 Self :: Hexagon ( r) => r. overlapping_regs ( |r| cb ( Self :: Hexagon ( r) ) ) ,
327327 Self :: Mips ( _) => cb ( self ) ,
328- Self :: Err => unreachable ! ( ) ,
328+ Self :: Err => unreachable ! ( "Use of InlineAsmReg::Err" ) ,
329329 }
330330 }
331331}
@@ -386,7 +386,7 @@ impl InlineAsmRegClass {
386386 Self :: Mips ( r) => r. suggest_class ( arch, ty) . map ( InlineAsmRegClass :: Mips ) ,
387387 Self :: SpirV ( r) => r. suggest_class ( arch, ty) . map ( InlineAsmRegClass :: SpirV ) ,
388388 Self :: Wasm ( r) => r. suggest_class ( arch, ty) . map ( InlineAsmRegClass :: Wasm ) ,
389- Self :: Err => unreachable ! ( ) ,
389+ Self :: Err => unreachable ! ( "Use of InlineAsmRegClass::Err" ) ,
390390 }
391391 }
392392
@@ -411,7 +411,7 @@ impl InlineAsmRegClass {
411411 Self :: Mips ( r) => r. suggest_modifier ( arch, ty) ,
412412 Self :: SpirV ( r) => r. suggest_modifier ( arch, ty) ,
413413 Self :: Wasm ( r) => r. suggest_modifier ( arch, ty) ,
414- Self :: Err => unreachable ! ( ) ,
414+ Self :: Err => unreachable ! ( "Use of InlineAsmRegClass::Err" ) ,
415415 }
416416 }
417417
@@ -432,7 +432,7 @@ impl InlineAsmRegClass {
432432 Self :: Mips ( r) => r. default_modifier ( arch) ,
433433 Self :: SpirV ( r) => r. default_modifier ( arch) ,
434434 Self :: Wasm ( r) => r. default_modifier ( arch) ,
435- Self :: Err => unreachable ! ( ) ,
435+ Self :: Err => unreachable ! ( "Use of InlineAsmRegClass::Err" ) ,
436436 }
437437 }
438438
@@ -452,7 +452,7 @@ impl InlineAsmRegClass {
452452 Self :: Mips ( r) => r. supported_types ( arch) ,
453453 Self :: SpirV ( r) => r. supported_types ( arch) ,
454454 Self :: Wasm ( r) => r. supported_types ( arch) ,
455- Self :: Err => unreachable ! ( ) ,
455+ Self :: Err => unreachable ! ( "Use of InlineAsmRegClass::Err" ) ,
456456 }
457457 }
458458
@@ -489,7 +489,7 @@ impl InlineAsmRegClass {
489489 Self :: Mips ( r) => r. valid_modifiers ( arch) ,
490490 Self :: SpirV ( r) => r. valid_modifiers ( arch) ,
491491 Self :: Wasm ( r) => r. valid_modifiers ( arch) ,
492- Self :: Err => unreachable ! ( ) ,
492+ Self :: Err => unreachable ! ( "Use of InlineAsmRegClass::Err" ) ,
493493 }
494494 }
495495}
0 commit comments