Bevy version
v0.12
What you did
#[derive(Reflect)]
pub struct Foo<T: Reflect> {
pub problem: Option<Box<T>>,
}
What went wrong
error[E0277]: the trait bound `std::boxed::Box<T>: TypePath` is not satisfied
--> src/bug.rs:5:18
|
25 | pub problem: Option<Box<T>>,
| ^^^^^^^^^^^^^^ the trait `TypePath` is not implemented for `std::boxed::Box<T>`
|
Additional information
This was compiling on v0.11.
Bevy version
v0.12
What you did
What went wrong
Additional information
This was compiling on v0.11.