Daniel stumbled across this bug where a non-optional boxed messages (Box<T: Message>) don't compile, unfortunately it also threw a pretty non-descriptive error because of the bounds we have on the generic impl of Message. The fix is to de-reference non-optional boxed messages like we de-reference optional boxed messages (Option<Box<T: Message>>). I also added a field in the box_it example of this.
Daniel stumbled across this bug where a non-optional boxed messages (
Box<T: Message>
) don't compile, unfortunately it also threw a pretty non-descriptive error because of the bounds we have on the generic impl of Message. The fix is to de-reference non-optional boxed messages like we de-reference optional boxed messages (Option<Box<T: Message>>
). I also added a field in thebox_it
example of this.