You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
error: macros cannot expand to foreign items #5668
Visiting for triage. My nomination vote goes with "feature complete"; this is a proper (if minor) feature. Unless it's implemented-and-buggy currently?
Activity
jbclements commentedon Apr 1, 2013
I should at least include some code. Here's some code:
catamorphism commentedon May 24, 2013
Nominating for milestone 5, production-ready
graydon commentedon Jul 25, 2013
Visiting for triage. My nomination vote goes with "feature complete"; this is a proper (if minor) feature. Unless it's implemented-and-buggy currently?
graydon commentedon Aug 15, 2013
accepted for feature-complete milestone
pnkfelix commentedon Feb 13, 2014
This need not block 1.0. Assigning P-low.
huonw commentedon Mar 2, 2015
Triage bump (still an issue).
julienw commentedon Mar 1, 2016
still an issue.
julienw commentedon Mar 1, 2016
My own use case is I have a bunch of external functions like:
and I wanted to be more DRY:
(Note I have a bunch of more functions too)
[-]macros can't expand into items in foreign modules[/-][+]error: macros cannot expand to foreign items[/+]steveklabnik commentedon Sep 24, 2018
Triage: no comments in two years, and
macro_rulesis not being improved anymore. I'm going to close this.petrochenkov commentedon Sep 24, 2018
Macros work in foreign blocks now, but they are not yet stable and gated by
feature(macros_in_extern).Merge rust-lang#5668
Merge pull request rust-lang#5668 from Kaileshwar16/issue/fchmodat-no…
Merge pull request rust-lang#5668 from Kaileshwar16/issue/fchmodat-no…