]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-7364.rs
1 use std
::cell
::RefCell
;
3 // Regression test for issue 7364
4 static boxed
: Box
<RefCell
<isize>> = Box
::new(RefCell
::new(0));
5 //~^ ERROR `RefCell<isize>` cannot be shared between threads safely [E0277]