]> git.lizzy.rs Git - rust.git/blob - tests/ui/issues/issue-7364.rs
Rollup merge of #106752 - sulami:master, r=estebank
[rust.git] / tests / 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() { }