That works for the 90% case (pointer/reference types), but it'd be nice to
have something more generic that works for everything.

  - Clark


On Tue, Mar 4, 2014 at 4:08 PM, Daniel Micay <danielmi...@gmail.com> wrote:

> On 04/03/14 04:04 PM, Clark Gaebel wrote:
> > I like the current interface for iterators. :( Couldn't a similar
> > transformation be done as a special-purpose optimization pass?
>
> The check is already eliminated by LLVM in most cases. The exceptions
> are caused by a fixable limitation:
> https://github.com/mozilla/rust/issues/9546
>
>


-- 
Clark.

Key ID     : 0x78099922
Fingerprint: B292 493C 51AE F3AB D016  DD04 E5E3 C36F 5534 F907
_______________________________________________
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to