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
{{ message }}
Repository navigation
doc does not correctly display macro match arms if they are created inside of a proc macro #43759
When creating a macro tagged with #[macro_export] inside of a proc_macro_derive the documentation incorrectly displays the name of the derive instead of the match pattern.
I tried this code: (everything is the same as here except for "main.rs" and "impl_hello_world()").
changed the title [-]doc does not correctly display macro match arms if they are created inside of a proc macro-[/-][+]doc does not correctly display macro match arms if they are created inside of a proc macro[/+]on Aug 9, 2017
Activity
[-]doc does not correctly display macro match arms if they are created inside of a proc macro-[/-][+]doc does not correctly display macro match arms if they are created inside of a proc macro[/+]camelid commentedon May 22, 2024
I tested this, and it is fixed now. I believe it was fixed in #86282.
Updated proc-macro code based on modern Rust: