2015-04-30 11:59:53 +02:00
|
|
|
fn main() {
|
2019-05-28 14:46:13 -04:00
|
|
|
static foo: dyn Fn() -> u32 = || -> u32 {
|
2018-10-11 18:02:00 +02:00
|
|
|
//~^ ERROR the size for values of type
|
2021-11-26 14:11:45 +00:00
|
|
|
//~| ERROR cannot be shared between threads safely
|
2023-10-25 10:49:24 +00:00
|
|
|
//~| ERROR mismatched types
|
2015-04-30 11:59:53 +02:00
|
|
|
0
|
|
|
|
|
};
|
|
|
|
|
}
|