-
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
Cleanup rmeta::MacroDef
#66364
Cleanup rmeta::MacroDef
#66364
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall though I think this is reasonable, I guess :)
src/test/ui/editions/edition-keywords-2015-2018-expansion.stderr
Outdated
Show resolved
Hide resolved
This comment has been minimized.
This comment has been minimized.
782a223
to
837420b
Compare
This comment has been minimized.
This comment has been minimized.
837420b
to
3f6f0ad
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
3f6f0ad
to
80a1f31
Compare
All the tests passed (before I adjusted the comment), so this should be ready for review now. :) |
This comment has been minimized.
This comment has been minimized.
8b72aab
to
a2ec40b
Compare
This comment has been minimized.
This comment has been minimized.
Do not forget to run perf on this. |
Let's try a perf run now (and maybe one later after doing some more changes according to #66364 (comment)): @bors try @rust-timer queue |
Awaiting bors try build completion |
⌛ Trying commit a2ec40b4bf40b57c3df20d4c679804812d3be8e6 with merge 8391cac23555ae55fb9f4d7fc909c58c3f1313bf... |
@bors retry Yield to the beta release |
☀️ Test successful - checks-azure |
Tagging as relnotes (so we don't forget about it -- it may not go into the final version), though that may be a false positive. @tomaka reported some breakage here (https://twitter.com/tomaka17/status/1238204339505770499) though it may be entirely in unstable features and unobservable on stable, in which case we wouldn't need to document it in relnotes. @eddyb tells me @petrochenkov is the person to ask on whether there's something to say in relnotes here :) |
Further discussion on Discord informed me that perhaps there is not a significant change here and the only exposed changes are to unstable APIs in proc_macro anyway, so untagging. |
Spans can affect many things, starting from lints (as this PR itself shows). |
Actually, running a separate crater check for this PR would be reasonable. |
rustc_metadata: Remove `rmeta::MacroDef` And other related cleanups. Follow-up to rust-lang#66364. r? @Centril
rustc_metadata: Remove `rmeta::MacroDef` And other related cleanups. Follow-up to rust-lang#66364. r? @Centril
Fix JSON file_name documentation for macros. JSON `file_name` paths were changed in rust-lang#66364 for macros to point to actual source files instead of using `<MACRONAME macros>`. Closes rust-lang#70396
Avoid using rountrip parsing in the encoder and in
fn load_macro_untracked
.The main reason I was interested in this was to remove
rustc_parse
as a dependency ofrustc_metadata
but it seems like this had other benefits as well.Fixes #49511.
r? @eddyb
cc @matthewjasper @estebank @petrochenkov