-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clean out deprecated functionality #18070
Conversation
😍 this is too big for github or my phone to render, but what does render before it locks up makes me sooo happy. |
43555a7
to
1ee4848
Compare
There are a handful of places where it looks like you are doing an extra |
Yeah the most commons places were |
@alexcrichton Yep, that's the issue. Both @pcwalton and @nikomatsakis have various changes in PRs or nearly so that will hopefully close this out. |
OK, I read through this fairly carefully and it looks good to me. It's interesting seeing the ergonomic impact of these changes -- on the whole, neutral I'd say. |
I found that In general though, I would agree that I didn't feel that the ergonomic improvement was too large. This was mostly just propagating old deprecations into libsyntax/librustc though, so not too much we didn't already know! |
Yep -- I was just somewhat worried about ergonomic regressions since we've removed a fair number of convenience methods. |
Ah! Along those lines the most painful I found were the removal of |
Yeah, the |
2bb09b5
to
5c9e486
Compare
5c9e486
to
425f7ec
Compare
(Needs a rebase.) |
425f7ec
to
afe376d
Compare
This is a large spring-cleaning commit now that the 0.12.0 release has passed removing an amount of deprecated functionality. This removes a number of deprecated crates (all still available as cargo packages in the rust-lang organization) as well as a slew of deprecated functions. All `#[crate_id]` support has also been removed. I tried to avoid anything that was recently deprecated, but I may have missed something! The major pain points of this commit is the fact that rustc/syntax have `#[allow(deprecated)]`, but I've removed that annotation so moving forward they should be cleaned up as we go.
afe376d
to
d66832f
Compare
Needs a rebase |
df4c7c9
to
608d81e
Compare
608d81e
to
7b1b9c3
Compare
7b1b9c3
to
bed81dc
Compare
All of these crates have been deprecated for some time and properly live in the rust-lang organization as cargo-based crates. To update your code, depend on the rust-lang/foo repository via cargo. [breaking-change]
Spring cleaning is here! In the Fall! This commit removes quite a large amount of deprecated functionality from the standard libraries. I tried to ensure that only old deprecated functionality was removed. This is removing lots and lots of deprecated features, so this is a breaking change. Please consult the deprecation messages of the deleted code to see how to migrate code forward if it still needs migration. [breaking-change]
bed81dc
to
cf73351
Compare
cf73351
to
b193a07
Compare
b193a07
to
7725ae9
Compare
7725ae9
to
96445a5
Compare
This is a large spring-cleaning commit now that the 0.12.0 release has passed removing an amount of deprecated functionality. This removes a number of deprecated crates (all still available as cargo packages in the rust-lang organization) as well as a slew of deprecated functions. All `#[crate_id]` support has also been removed. I tried to avoid anything that was recently deprecated, but I may have missed something! The major pain points of this commit is the fact that rustc/syntax have `#[allow(deprecated)]`, but I've removed that annotation so moving forward they should be cleaned up as we go.
(I'm a little unhappy this landed before #16821 was fixed ... I find |
@pnkfelix Yes, that was one of the ergonomic regressions in this patch. I don't think there were too many instances, and it should be quite easy to grep for this pattern after the problem is resolved (which we should do anyway.) |
On Wed, Oct 15, 2014 at 01:24:35PM -0700, Alex Crichton wrote:
Note that |
why was librustc/middle/save removed? It is not deprecated |
oops, sorry, wrong PR :-s |
This is a large spring-cleaning commit now that the 0.12.0 release has passed removing an amount of deprecated functionality. This removes a number of deprecated crates (all still available as cargo packages in the rust-lang organization) as well as a slew of deprecated functions. All
#[crate_id]
support has also been removed.I tried to avoid anything that was recently deprecated, but I may have missed something! The major pain points of this commit is the fact that rustc/syntax have
#[allow(deprecated)]
, but I've removed that annotation so moving forward they should be cleaned up as we go.