diff options
| author | bors <bors@rust-lang.org> | 2022-06-19 17:32:12 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-06-19 17:32:12 +0000 |
| commit | 2b646bd533e8a20c06a71d0b7837e15eb4c79fa8 (patch) | |
| tree | fab8ca55e3311463d23553169421b71a48904d00 | |
| parent | 68d0b29098ed75f50dabc7d07b96c70caab5c182 (diff) | |
| parent | 83545d3216369b1bba76f613bd09ab0c4198b63e (diff) | |
| download | rust-2b646bd533e8a20c06a71d0b7837e15eb4c79fa8.tar.gz rust-2b646bd533e8a20c06a71d0b7837e15eb4c79fa8.zip | |
Auto merge of #98224 - eddyb:proc-macro-spurious-repr, r=bjorn3
proc_macro/bridge: remove `#[repr(C)]` from non-ABI-relevant types. Not sure how this happened, maybe some of these were passed through the bridge a long time ago? r? `@bjorn3`
| -rw-r--r-- | library/proc_macro/src/bridge/client.rs | 3 |
1 files changed, 0 insertions, 3 deletions
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 @@ macro_rules! define_handles { } // FIXME(eddyb) generate the definition of `HandleStore` in `server.rs`. - #[repr(C)] #[allow(non_snake_case)] pub(super) struct HandleStore<S: server::Types> { $($oty: handle::OwnedStore<S::$oty>,)* @@ -46,7 +45,6 @@ macro_rules! define_handles { } $( - #[repr(C)] pub(crate) struct $oty { handle: handle::Handle, // Prevent Send and Sync impls. `!Send`/`!Sync` is the usual @@ -131,7 +129,6 @@ macro_rules! define_handles { )* $( - #[repr(C)] #[derive(Copy, Clone, PartialEq, Eq, Hash)] pub(crate) struct $ity { handle: handle::Handle, |
