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.
2 parents bd8457f + 174e9e8 commit e8e8318Copy full SHA for e8e8318
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