Fix some #[cfg_attr(not(doc), repr(..))]

Now that #90435 seems to have been resolved.
This commit is contained in:
Pavel Grigorenko
2024-07-22 00:59:58 +03:00
parent 92c6c03805
commit b74f426e07
7 changed files with 11 additions and 15 deletions

View File

@@ -506,7 +506,7 @@ where
/// ```
///
#[unstable(feature = "error_generic_member_access", issue = "99301")]
#[cfg_attr(not(doc), repr(transparent))] // work around https://github.com/rust-lang/rust/issues/90435
#[repr(transparent)]
pub struct Request<'a>(Tagged<dyn Erased<'a> + 'a>);
impl<'a> Request<'a> {