diff --git a/library/proc_macro/src/bridge/client.rs b/library/proc_macro/src/bridge/client.rs index 068f3e241be..d7cc700495b 100644 --- a/library/proc_macro/src/bridge/client.rs +++ b/library/proc_macro/src/bridge/client.rs @@ -29,7 +29,6 @@ extern "C" fn get() -> &'static Self { } // FIXME(eddyb) generate the definition of `HandleStore` in `server.rs`. - #[repr(C)] #[allow(non_snake_case)] pub(super) struct HandleStore { $($oty: handle::OwnedStore,)* @@ -46,7 +45,6 @@ pub(super) fn new(handle_counters: &'static HandleCounters) -> Self { } $( - #[repr(C)] pub(crate) struct $oty { handle: handle::Handle, // Prevent Send and Sync impls. `!Send`/`!Sync` is the usual @@ -131,7 +129,6 @@ fn decode(r: &mut Reader<'_>, s: &mut S) -> Self { )* $( - #[repr(C)] #[derive(Copy, Clone, PartialEq, Eq, Hash)] pub(crate) struct $ity { handle: handle::Handle,