-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rustdoc: leaves alias type's documetation empty #107690
Comments
@timthelion do you see the same problem if you write out the type alias without a macro? If so, it's probably related to the alias, not the macro. |
I'm sorry but I don't know what the type alias without the macro is. I didn't write the code in question and I'm still quite new to rust. |
The one shown in the docs, |
Oh, wow, I didn't realize that. So basically it would be fixed if the docs contained the same thing as this page https://docs.rs/ruma/0.7.4/ruma/events/struct.OriginalSyncMessageLikeEvent.html but with |
Duplicate of feature request #99952. |
@fmease yeah, probably, thanks. |
Types that are generated by a macro from another type using a decorator end up with empty documentation. Here is an example
I expected to see this happen: I expected to see the fields and methods I can use with objects of this type. For example, I know from context that this type has a
content
attribute but no such attribute is shown in the docs.Example code from the same project:
Instead, this happened:
The text was updated successfully, but these errors were encountered: