We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4510666 commit 174e9e8Copy full SHA for 174e9e8
glib-macros/src/properties.rs
@@ -620,7 +620,7 @@ fn expand_properties_enum(props: &[PropDesc]) -> TokenStream2 {
620
impl std::convert::TryFrom<usize> for DerivedPropertiesEnum {
621
type Error = usize;
622
623
- fn try_from(item: usize) -> ::core::result::Result<Self, Self::Error> {
+ fn try_from(item: usize) -> ::core::result::Result<Self, <Self as std::convert::TryFrom<usize>>::Error> {
624
match item {
625
#(#indices => ::core::result::Result::Ok(Self::#properties),)*
626
_ => ::core::result::Result::Err(item)
0 commit comments