archives of rust-dev@mozilla.org (2010-2015)
 help / color / mirror / Atom feed
* [rust-dev] rustbyexample.com's failing example due to changes in nightly
@ 2015-01-08 16:24 Santiago Pastorino
  2015-01-08 18:28 ` Santiago Pastorino
  0 siblings, 1 reply; 2+ messages in thread
From: Santiago Pastorino @ 2015-01-08 16:24 UTC (permalink / raw)
  To: rust-dev

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [rust-dev] rustbyexample.com's failing example due to changes in nightly
  2015-01-08 16:24 [rust-dev] rustbyexample.com's failing example due to changes in nightly Santiago Pastorino
@ 2015-01-08 18:28 ` Santiago Pastorino
  0 siblings, 0 replies; 2+ messages in thread
From: Santiago Pastorino @ 2015-01-08 18:28 UTC (permalink / raw)
  To: rust-dev

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 <spastorino@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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-01-08 18:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-08 16:24 [rust-dev] rustbyexample.com's failing example due to changes in nightly Santiago Pastorino
2015-01-08 18:28 ` Santiago Pastorino

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox