-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Streamline some attr parsing APIs #141271
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
Some changes occurred in compiler/rustc_attr_parsing |
They are unused.
They're equivalent, and `path` is unused, and `deconstruct` has only one call site outside of `path`.
And avoid the clone.
e2092d7
to
e5c78de
Compare
@jdonszelmann: two week ping! |
@nnethercote hiya! Thanks for the ping and sorry for the wait. I've just made my queue of after-rustweek work and you're in it, as well as some of my own attribute work so we should be able to make some progress here. I'll review it today I hope :) |
well, I just did it immediately, it's small enough. I see nothing wrong with this, except maybe that I liked @bors r+ rollup |
Thanks for the fast response! :) |
…nszelmann Streamline some attr parsing APIs r? `@jdonszelmann`
Rollup of 9 pull requests Successful merges: - #141271 (Streamline some attr parsing APIs) - #141570 (Fix incorrect eq_unspanned in TokenStream) - #141857 (coretests: move float tests from num to floats module and use a more flexible macro to generate them) - #141893 (remove `f16: From<u16>`) - #141924 (Lightly tweak docs for BTree{Map,Set}::extract_if) - #141939 (exact_div: add tests) - #141959 (Add more missing 2015 edition directives) - #142002 (redesign stage 0 std follow-ups part2) - #142007 (Improve some `Visitor` comments.) r? `@ghost` `@rustbot` modify labels: rollup
Rollup of 7 pull requests Successful merges: - #141271 (Streamline some attr parsing APIs) - #141570 (Fix incorrect eq_unspanned in TokenStream) - #141893 (remove `f16: From<u16>`) - #141924 (Lightly tweak docs for BTree{Map,Set}::extract_if) - #141939 (exact_div: add tests) - #141959 (Add more missing 2015 edition directives) - #142007 (Improve some `Visitor` comments.) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of #141271 - nnethercote:attr-streamline, r=jdonszelmann Streamline some attr parsing APIs r? ``@jdonszelmann``
r? @jdonszelmann