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
error[E0277]: the trait bound `std::sync::Mutex<foo::Inner>: Property` is not satisfied
--> glib-macros/tests/properties.rs:159:13
|
159 | #[property(get, set, member = senum)]
| ^ the trait `Property` is not implemented for `std::sync::Mutex<foo::Inner>`
|
= help: the trait `Property` is implemented for `std::sync::Mutex<T>`
error[E0277]: the trait bound `std::sync::Mutex<foo::Inner>: Property` is not satisfied
--> glib-macros/tests/properties.rs:90:18
|
90 | #[derive(Properties, Default)]
| ^^^^^^^^^^ the trait `Property` is not implemented for `std::sync::Mutex<foo::Inner>`
|
= help: the trait `Property` is implemented for `std::sync::Mutex<T>`
= note: this error originates in the derive macro `Properties` (in Nightly builds, run with -Z macro-backtrace for more info)
The text was updated successfully, but these errors were encountered:
See this code trying to define a GEnum property inside a nested object. It fails, I think, because
type =
needs to be defined when usingmember =
but I didn't find any way to make it work.The text was updated successfully, but these errors were encountered: