]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-7364.rs
Rollup merge of #92942 - Xaeroxe:raw_arg, r=dtolnay
[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() { }