Uh oh!
There was an error while loading. Please reload this page.
Remove some feature flag usage from libsyntax - #24487
Conversation
rust-highfive
commented
Apr 16, 2015
(rust_highfive has picked a reviewer for you, use r? to override) |
Manishearth
commented
Apr 16, 2015
@bors-servo: r+ |
bors
commented
Apr 16, 2015
📌 Commit c499fee has been approved by |
erickt
commented
Apr 17, 2015
Fixed the tidy issue and eliminated a few other feature flags. |
There was a problem hiding this comment.
In the past we've had some pretty bad code bloat problems by having a totally generic pretty printer, so I'm curious what instigated this change?
There was a problem hiding this comment.
I was trying to make it easy to get to the underlying Vec so I could get rid of the reference to TraitObject and the transmute, but I can try a different approach.
erickt
commented
Apr 17, 2015
@alexcrichton: turned out I could have saved myself a bunch of time trying to get rid of ... I think serde might have gotten me addicted to type parameters... |
alexcrichton
commented
Apr 17, 2015
bors
commented
Apr 18, 2015
☔ The latest upstream changes (presumably #23985) made this pull request unmergeable. Please resolve the merge conflicts. |
erickt
commented
Apr 19, 2015
bors
commented
Apr 19, 2015
⌛ Testing commit 51a2935 with merge 7805349... |
bors
commented
Apr 20, 2015
💔 Test failed - auto-linux-64-nopt-t |
Manishearth
commented
Apr 20, 2015
|
Replace Path::exists with stable metadata call.
erickt
commented
Apr 21, 2015
@alexcrichton: I included a few more commits that haven't been reviewed. I don't think you've seen the last 4 yet. |
alexcrichton
commented
Apr 21, 2015
Looks good to me! Could this hold off on the last commit for now though? Duplicating that kind of code is a bit unfortunate and there's still other features in use by libsyntax so we can hold off on the duplication as long as possible (hopefully!) |
erickt
commented
Apr 21, 2015
@alexcrichton: Sure no problem. I'll remove that patch for now. |
alexcrichton
commented
Apr 21, 2015
This removes the usage of `#[feature(into_cow, slice_patterns, box_syntax, box_patterns, quote, unsafe_destructor)]` from being used in libsyntax. My main desire for this is that it brings me one step closer to letting [syntex](https://github.com/erickt/rust-syntex) compile with stable rust. Hopefully this doesn't inconvenience rust development.
This removes the usage of
#[feature(into_cow, slice_patterns, box_syntax, box_patterns, quote, unsafe_destructor)]from being used in libsyntax. My main desire for this is that it brings me one step closer to letting syntex compile with stable rust. Hopefully this doesn't inconvenience rust development.