Skip to content

fixes a warning which might lead to compilation errors

Armas Spann requested to merge zpl/zbus_fix into main

This MR fixes the following compile issue:

#[dbus_proxy(...)] macro invocation on 'DaemonProxyBlocking' without explicit defaults. Please set 'assume_defaults = true', or configure default path/service directly.
#[dbus_proxy(...)] macro invocation on 'DaemonProxy' without explicit defaults. Please set 'assume_defaults = true', or configure default path/service directly.
error[E0277]: the trait bound `std::option::Option<u64>: Type` is not satisfied
  --> asusd-user/src/ctrl_anime.rs:18:48
   |
18 | #[derive(Debug, Clone, Deserialize, Serialize, Type)]
   |                                                ^^^^ the trait `Type` is not implemented for `std::option::Option<u64>`
   |
   = help: the following other types implement trait `Type`:
             &T
             &mut T
             ()
             (T0, T1)
             (T0, T1, T2)
             (T0, T1, T2, T3)
             (T0, T1, T2, T3, T4)
             (T0, T1, T2, T3, T4, T5)
           and 156 others
   = note: this error originates in the derive macro `Type` (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 `asusd-user` due to previous error

Merge request reports