Skip to content

Commit

Permalink
codegen: Update assert_impl helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Dec 5, 2023
1 parent 1681733 commit ef1ecb1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/codegen/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -273,10 +273,10 @@ fn gen_assert_impl() -> Result<()> {
use core::marker::PhantomPinned;
/// `Send` & `!Sync`
#[allow(dead_code)]
struct NotSync(core::cell::Cell<()>);
struct NotSync(core::cell::UnsafeCell<()>);
/// `!Send` & `!Sync`
#[allow(dead_code)]
struct NotSendSync(std::rc::Rc<()>);
struct NotSendSync(*const ());
/// `!UnwindSafe`
#[allow(dead_code)]
struct NotUnwindSafe(&'static mut ());
Expand Down

0 comments on commit ef1ecb1

Please sign in to comment.