mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-12 23:50:20 +03:00
Improve a debug assert message (triggered by unnecessary import of Box)
This commit is contained in:
parent
c50cbd265a
commit
8cf7752514
@ -64,7 +64,8 @@ impl MakeSpecializationsDependents {
|
|||||||
let entry = self.entry(module_id);
|
let entry = self.entry(module_id);
|
||||||
debug_assert!(
|
debug_assert!(
|
||||||
entry.succ.is_empty(),
|
entry.succ.is_empty(),
|
||||||
"already added successors for this module"
|
"already added successors for module '{:?}'",
|
||||||
|
module_id
|
||||||
);
|
);
|
||||||
|
|
||||||
entry.succ.extend(succ.into_iter());
|
entry.succ.extend(succ.into_iter());
|
||||||
|
Loading…
Reference in New Issue
Block a user