summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-7364.rs
blob: 79642bd411b38b1fe46de507b6664ac9839fab81 (plain)
1
2
3
4
5
6
7
use std::cell::RefCell;

// Regression test for issue 7364
static boxed: Box<RefCell<isize>> = Box::new(RefCell::new(0));
//~^ ERROR `RefCell<isize>` cannot be shared between threads safely [E0277]

fn main() { }