]> git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-7364.rs
New upstream version 1.67.1+dfsg1
[rustc.git] / src / test / ui / issues / issue-7364.rs
1 use std::cell::RefCell;
2
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]
6
7 fn main() { }