Uh oh!
There was an error while loading. Please reload this page.
Add regression test for #22471 - #24979
Conversation
rust-highfive
commented
Apr 30, 2015
(rust_highfive has picked a reviewer for you, use r? to override) |
pnkfelix
commented
Apr 30, 2015
Manishearth
commented
May 1, 2015
Manishearth
commented
May 1, 2015
@bors: r- |
jooert
commented
May 1, 2015
I'm sorry I messed up the rollup PR! The weird thing is: When I run locally, the test passes, but it fails when I run However, when I run the exact same command that the test runner claims to compile the test with, compilation works without errors. Compiling with another (nightly f9e53c7 2015-04-24) locally installed version of rustc works fine too. Perhaps there is something I still don't understand about the testing system, but I thought if a test compiles fine using the just compiled rustc and using an older version, too, the test should be good to go. |
Manishearth
commented
May 1, 2015
No problem. Put an |
jooert
commented
May 1, 2015
Ok, I added the |
Manishearth
commented
May 1, 2015
It runs the test through the prettifier ( |
jooert
commented
May 1, 2015
Ah, I see! In this particular case it turns typeFoo<T>whereT:Copy = Box<T>;into typeFoo<T> = Box<T>whereT:Copy;The latter fails with while the former compiles fine. Isn't that a bug in the prettifier if it transforms working code into non-compiling? |
Manishearth
commented
May 1, 2015
Yes, please file it! :) |
jooert
commented
May 1, 2015
Ok. 😃 |
jooert
commented
May 5, 2015
This can be merged now, as #25092 has landed. |
Closes#22471.