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

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

8 lines
183 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
0
};
}