-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-macrosArea: All kinds of macros (custom derive, macro_rules!, proc macros, ..)Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)A-visibilityArea: Visibility / privacyArea: Visibility / privacyC-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCF-pub_macro_rules`#![feature(pub_macro_rules)]``#![feature(pub_macro_rules)]`
Description
This is a tracking issue for
pub macro_rules! foo {
...
}
pub
(or pub(...)
) here makes the macro use regular module scoping (with specified visibility) used by all other non-macro items instead of the traditional macro_rules
scoping.
Implemented in #78166.
Implementation History:
est31, Aaron1011, PatchMixolydic, jonas-schievink, JeanMertz and 5 morecamelid, Pratyush, PatchMixolydic, jplatte, tema3210 and 2 more
Metadata
Metadata
Assignees
Labels
A-macrosArea: All kinds of macros (custom derive, macro_rules!, proc macros, ..)Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)A-visibilityArea: Visibility / privacyArea: Visibility / privacyC-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCF-pub_macro_rules`#![feature(pub_macro_rules)]``#![feature(pub_macro_rules)]`