]> git.lizzy.rs Git - rust.git/blob - tests/ui/issues/issue-24446.rs
Rollup merge of #106896 - Ezrashaw:str-cast-bool-emptyness, r=compiler-errors
[rust.git] / tests / ui / issues / issue-24446.rs
1 fn main() {
2     static foo: dyn Fn() -> u32 = || -> u32 {
3         //~^ ERROR the size for values of type
4         //~| ERROR cannot be shared between threads safely
5         0
6     };
7 }