Remove doctree::Macro and distinguish between macro_rules! and pub macro#79455
Remove doctree::Macro and distinguish between macro_rules! and pub macro#79455bors merged 7 commits intorust-lang:masterfrom
macro_rules! and pub macro#79455Conversation
|
r? @ollie27 (rust-highfive has picked a reviewer for you, use r? to override) |
|
r? @jyn514 |
There was a problem hiding this comment.
Please add some tests for the new behavior around pub macro. They'd go in src/test/rustdoc, there are instructions in https://rustc-dev-guide.rust-lang.org/rustdoc-internals.html#dotting-is-and-crossing-ts.
macro_rules! and pub macro
|
This looks pretty good to me. Once #79372 is merged (hopefully today), can you rebase over those changes and squash the "Appease tidy" commits at the same time? I want to look at it once more after that but I don't expect it to need many changes. |
|
#79372 was merged. |
|
Rebased and squashed, as requested |
Co-authored-by: Joshua Nelson <[email protected]>
|
@bors r+ 🎉 🎉 |
|
📌 Commit a61c09a has been approved by |
|
⌛ Testing commit a61c09a with merge 514bb94c0c1a94f8dda90b0bf65068d57f43232c... |
|
@bors r- @CraftSpider do you mind adding a test for multiple matches in a decl macro (and fixing it if it breaks)? There should be some examples of multiple matches in |
|
☀️ Try build successful - checks-actions |
|
@bors r+ |
|
📌 Commit d23b57c has been approved by |
|
Thanks for sticking with this! |
|
No problem! I'd rather spend more time to make sure everything is right, than just merge something half-functional. Thank you for your continued assistance. |
|
☀️ Test successful - checks-actions |
|
Nice, thanks for the fix! Will this make it easier to fix #74355? |
|
@RalfJung in the sense that the code is easier to work with, yes, but it may actually make it harder in the short term because the approach in #77862 no longer works; |
|
Actually, that might be a little strong - I think you could still use the same approach to chose a different module to attach the |
This is a part of #78082, removing doctree::Macro. Uses the changes in #79372
Fixes #76761