compile error - server

error[E0277]: `PanelItem` doesn't implement `std::fmt::Debug`
   --> src/wayland/xdg_shell.rs:209:2
    |
205 | #[derive(Debug)]
    |          ----- in this derive macro expansion
...
209 |     panel_item: Weak<PanelItem>,
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `PanelItem` cannot be formatted using `{:?}`
    |
    = help: the trait `std::fmt::Debug` is not implemented for `PanelItem`
    = note: add `#[derive(Debug)]` to `PanelItem` or manually `impl std::fmt::Debug for PanelItem`
    = help: the trait `std::fmt::Debug` is implemented for `std::sync::Weak<T>`
    = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)

For more information about this error, try `rustc --explain E0277`.
error: could not compile `stardust-xr-server` due to previous error
Was this page helpful?