Since my last today gill fetch I have this error:

error: instantiating a type parameter with an incompatible type `~BaseImpl`, which does not fulfill `Send`

for this code :
trait Base{}

struct SecondThink{
    count2: int,
}

enum BaseImpl    {
    FirstThinkImpl(~Base),
    SecondThinkImpl(~SecondThink),
}

let (newchan, newport): (Sender<BaseImpl>, Receiver<BaseImpl>) = channel(); <-- error here
^~~~~~~
The Send behavior has changed? Is it permanent and if yes is there a work around?

Philippe
_______________________________________________
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to