rust/tests/ui/issues/issue-24446.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
266 B
Rust
Raw Normal View History

fn main() {
2019-05-28 18:46:13 +00:00
static foo: dyn Fn() -> u32 = || -> u32 {
//~^ ERROR the size for values of type
//~| ERROR cannot be shared between threads safely
//~| ERROR the size for values of type
//~| ERROR mismatched types
0
};
}