You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.