Closed
Description
fn main() {
let (port, chan) = pipes::stream(); // instantiating a type parameter with an incompatible type (needs `owned`, got `const copy owned`, missing `durable`)
do task::spawn {
io::println(port.recv()); // instantiating a type parameter with an incompatible type (needs `owned`, got `const copy owned`, missing `durable`)
}
chan.send("hello, world"); // instantiating a type parameter with an incompatible type (needs `owned`, got `const copy owned`, missing `durable`)
}
None of these three error messages mention the actual types involved.