Ok, with wycats point me out to the issue and got it working. You can see the diff here https://gist.github.com/spastorino/a286f296a850b8ea5d0f/revisions
PR to rustbyexample sent ... https://github.com/rust-lang/rust-by-example/pull/374 On Thu, Jan 8, 2015 at 2:24 PM, Santiago Pastorino <spastor...@gmail.com> wrote: > Hi everyone, > > I was looking at rustbyexample and found that some examples are not > working using the latest nighly Rust compiler. I've fixed one example > https://github.com/rust-lang/rust-by-example/pull/371 already merged > and now was looking at this one http://rustbyexample.com/bounds.html. > > I tried to fix that one, did this > https://gist.github.com/spastorino/6873dc7f371fb0fa7651/6d1880070520bb60e4238d5dc936ba775f8d9519 > but I get some errors as you can see in errors.log and I wonder what's > going on there. > > Then tried a different approach and got it working as you can see here > https://gist.github.com/spastorino/6873dc7f371fb0fa7651/853948c74f4f57fa924fc3ea635b599c6b7d7078 > > I wonder what's going on, I think the first code should be working but > unsure why it is not. > > Thanks. _______________________________________________ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev