-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: fix dead code warnings (#6423)
- Loading branch information
1 parent
d51f168
commit bb25a06
Showing
4 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
/// Marker for types that are `Sync` but not `Send` | ||
pub(crate) struct SyncNotSend(*mut ()); | ||
pub(crate) struct SyncNotSend(#[allow(dead_code)] *mut ()); | ||
|
||
unsafe impl Sync for SyncNotSend {} | ||
|
||
cfg_rt! { | ||
pub(crate) struct NotSendOrSync(*mut ()); | ||
pub(crate) struct NotSendOrSync(#[allow(dead_code)] *mut ()); | ||
} |