On 11/8/13 2:08 PM, Oren Ben-Kiki wrote:

I don't follow. ~Trait is a pointer, and therefore its size is fixed.
There are checks in place to prevent using a trait as a type (there's a
nice error message from the compiler saying "using trait as a type"
:-)... So the Trait in ~Trait isn't a _type_, right? :-)

No, the `Trait` in `~Trait` is a type under the dynamically sized types proposal. It is a type, just a dynamically sized one.

Patrick

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

Reply via email to