clang tidy fixes
This commit is contained in:
parent
516c03d510
commit
f5e56eeff6
1 changed files with 2 additions and 1 deletions
|
|
@ -23,6 +23,7 @@ use std::thread::__FastLocalKeyInner as Key;
|
|||
|
||||
static __KEY: Key<()> = Key::new();
|
||||
//~^ ERROR `std::cell::UnsafeCell<std::option::Option<()>>` cannot be shared between threads
|
||||
//~| ERROR `std::cell::Cell<std::thread::local::fast::DtorState>` cannot be shared between threads safely [E0277]
|
||||
//~| ERROR `std::cell::Cell<std::thread::local::fast::DtorState>` cannot be shared between threads
|
||||
// safely [E0277]
|
||||
|
||||
fn main() {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue