Clarify an assertion error message.
This commit is contained in:
@@ -72,7 +72,7 @@ impl RegisterSet {
|
|||||||
let (idx, bits) = bitmask(rc, reg);
|
let (idx, bits) = bitmask(rc, reg);
|
||||||
debug_assert!(
|
debug_assert!(
|
||||||
(self.avail[idx] & bits) == 0,
|
(self.avail[idx] & bits) == 0,
|
||||||
"{}:{} not allocated in {}",
|
"{}:{} is already free in {}",
|
||||||
rc,
|
rc,
|
||||||
rc.info.display_regunit(reg),
|
rc.info.display_regunit(reg),
|
||||||
self.display(rc.info)
|
self.display(rc.info)
|
||||||
|
|||||||
Reference in New Issue
Block a user