Skip to content

Commit 1283498

Browse files
committed
[DO NOT MERGE] Try coerce to &dyn Any
1 parent ffcd681 commit 1283498

File tree

1 file changed

+1
-0
lines changed
  • src/bootstrap/src/core/builder

1 file changed

+1
-0
lines changed

src/bootstrap/src/core/builder/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1500,6 +1500,7 @@ impl<'a> Builder<'a> {
15001500
let mut out = String::new();
15011501
out += &format!("\n\nCycle in build detected when adding {step:?}\n");
15021502
for el in stack.iter().rev() {
1503+
let el = el as &dyn Any;
15031504
out += &format!("\t{el:?}\n");
15041505
}
15051506
panic!("{}", out);

0 commit comments

Comments
 (0)