We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 516c03d commit f5e56eeCopy full SHA for f5e56ee
src/test/compile-fail/issue-43733-2.rs
@@ -23,6 +23,7 @@ use std::thread::__FastLocalKeyInner as Key;
23
24
static __KEY: Key<()> = Key::new();
25
//~^ ERROR `std::cell::UnsafeCell<std::option::Option<()>>` cannot be shared between threads
26
-//~| 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
27
+// safely [E0277]
28
29
fn main() {}
0 commit comments