No. Although it is known to have an overhead by using the heap and performing dynamic dispatch, using it is explicit and therefore will not be an accident or a surprise. Something being a “footgun” means that it happens without an intention; “unintentionally behaves self-destructive”, says wiktionary.
In contrast to Julia silently propagating an abstract type like Any
, Rust will not put an instance inside a Box
unless you explicitly tell it to.