graydon/rust — Issue #1443: Segfault with generic functions
Author: marijnh
Created: 2012-01-05 19:54:37+00:00
State: open
Labels: segv

The below code segfaults for me. Any further reduction seems to remove the problem.

```
fn baz(s: T, f: block(T) -> U) { f(s); }
fn foo(x: T) { baz(x, {|_e| 0 }); }
fn main() { foo(0); }
```