Make macro metavars respect (non-)hygiene#68746
Conversation
|
@bors try |
|
⌛ Trying commit 54bcfd60092e9f25afa12deeea9ccccf60fb921c with merge 3738e44c8fffe9e1fdfda9304a4df74ce7b29152... |
|
☀️ Try build successful - checks-azure |
|
@craterbot check |
|
👌 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
|
🚧 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
|
🎉 Experiment
|
|
Failure looks spurious. Checking perf looks ok |
|
Queued 3738e44c8fffe9e1fdfda9304a4df74ce7b29152 with parent 0cbcb17, future comparison URL. |
|
Finished benchmarking try commit 3738e44c8fffe9e1fdfda9304a4df74ce7b29152, comparison URL. |
|
(This will probably has to wait until the next weekend.) |
|
This will have to wait for one more week, unfortunately. |
|
I'd like to run a slightly different experiment through crater first - #69410. |
|
I'm generally skeptical about applying the term "name resolution" and name resolution techniques to things in I don't think the current behavior is deliberate, it's probably mostly a consequence of |
|
I'm not sure what to do here.
Perhaps doing what this PR does is the least evil after all. |
|
I have only one concern regarding the implementation - keeping I wanted to migrate all ident comparisons to such newtypes since ~2015, I guess, but never got to this task. |
39824fe to
d161124
Compare
…henkov Make macro metavars respect (non-)hygiene This makes them more consistent with other name resolution while not breaking any code on crater.
Rollup of 8 pull requests Successful merges: - #68746 (Make macro metavars respect (non-)hygiene) - #69189 (Erase regions in writeback) - #69402 (Extend search) - #69403 (Implement `Copy` for `IoSlice`) - #69460 (Move some `build-pass` tests to `check-pass`) - #69802 (fix more clippy findings) - #69809 (remove lifetimes that can be elided (clippy::needless_lifetimes)) - #69949 (triagebot.toml: add ping aliases) Failed merges: - #69589 (ast: `Mac`/`Macro` -> `MacCall`) r? @ghost
|
☔ The latest upstream changes (presumably #70024) made this pull request unmergeable. Please resolve the merge conflicts. |
2f145f6 to
0a9a415
Compare
|
@bors r=petrochenkov |
|
📌 Commit 0a9a4153433d99f49d5d6e283c234351a8dff73b has been approved by |
0a9a415 to
ec86270
Compare
|
@bors r=petrochenkov |
|
📌 Commit ec86270 has been approved by |
…henkov Make macro metavars respect (non-)hygiene This makes them more consistent with other name resolution while not breaking any code on crater.
…henkov Make macro metavars respect (non-)hygiene This makes them more consistent with other name resolution while not breaking any code on crater.
Rollup of 7 pull requests Successful merges: - #68746 (Make macro metavars respect (non-)hygiene) - #69688 (Move tidy check to mingw-check) - #69735 (bootstrap: Use hash to determine if sanitizers needs to be rebuilt) - #69922 (implement zeroed and uninitialized with MaybeUninit) - #69956 (Ensure HAS_FREE_LOCAL_NAMES is set for ReFree) - #70061 (Cosmetic fixes in documentation) - #70064 (Update books) Failed merges: r? @ghost
This makes them more consistent with other name resolution while not breaking any code on crater.