Sign in
android
/
toolchain
/
rustc
/
d720b3f2ba07cb42ff7b311589c99daefe3aaa22
/
.
/
tests
/
ui
/
issues
/
issue-7364.rs
blob: 79642bd411b38b1fe46de507b6664ac9839fab81 [
file
] [
log
] [
blame
]
use
std
::
cell
::
RefCell
;
// Regression test for issue 7364
static
boxed
:
Box
<
RefCell
<
isize
>>
=
Box
::
new
(
RefCell
::
new
(
0
));
//~^ ERROR `RefCell<isize>` cannot be shared between threads safely [E0277]
fn
main
()
{
}