9cf48d3753
This goes before a snapshot, so that subsequenct patches can make the transition without breaking the build. Disables kind checking pass, makes parser accept both new and old-style kind annotation. Issue #1177
6 lines
184 B
Rust
6 lines
184 B
Rust
// error-pattern: needed shared type, got pinned type block
|
|
// xfail-test
|
|
|
|
fn lol(f: block()) -> block() { ret f; }
|
|
fn main() { let i = 8; let f = lol(block () { log_err i; }); f(); }
|