mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-28 03:24:11 +00:00
rustdoc: show attributes on enum variants mostly for #[non_exhaustive] unsure if there's any attributes we should take care to *not* include, it could use `render_code_attribute` and `is_non_exhaustive` instead, if that is a concern. fixes rust-lang/rust#142599