1 2 3 4 5 6
// error-pattern: calculated effect is 'io' fn main() { let chan[int] c = chan(); c <| 10; }