You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiling playground v0.0.1 (/playground)
error[E0507]: cannot move out of `*__self_1_0` which is behind a shared reference
--> src/main.rs:11:5
|
11 | child: Box<dyn T>,
| ^^^^^^^^^^^^^^^^^ move occurs because `*__self_1_0` has type `std::boxed::Box<dyn T>`, which does not implement the `Copy` trait
|
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
error: aborting due to previous error
For more information about this error, try `rustc --explain E0507`.
error: could not compile `playground`.
To learn more, run the command again with --verbose.
The text was updated successfully, but these errors were encountered:
(Playground)
Errors:
The text was updated successfully, but these errors were encountered: