rustdoc: Use own logic to print #[repr(..)] attributes in JSON output.
#138018
+82
−43
#[repr(..)] attributes in JSON output.
#138018