-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Open
Labels
A-ReflectionRuntime information about typesRuntime information about typesC-UsabilityA targeted quality-of-life change that makes Bevy easier to useA targeted quality-of-life change that makes Bevy easier to use
Description
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.
Waridley
Metadata
Metadata
Assignees
Labels
A-ReflectionRuntime information about typesRuntime information about typesC-UsabilityA targeted quality-of-life change that makes Bevy easier to useA targeted quality-of-life change that makes Bevy easier to use
Type
Projects
Status
In Progress