]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-7364.rs
Merge commit 'dc5423ad448877e33cca28db2f1445c9c4473c75' into clippyup
[rust.git] / src / test / ui / issues / issue-7364.rs
1 #![feature(box_syntax)]
2
3 use std::cell::RefCell;
4
5 // Regression test for issue 7364
6 static boxed: Box<RefCell<isize>> = box RefCell::new(0);
7 //~^ ERROR `RefCell<isize>` cannot be shared between threads safely [E0277]
8
9 fn main() { }