Skip to content
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

resolve: Functions introducing procedural macros reserve a slot in the macro namespace as well #52383

Merged
merged 1 commit into from Jul 15, 2018

Conversation

Projects
None yet
6 participants
@petrochenkov
Copy link
Contributor

petrochenkov commented Jul 14, 2018

Similarly to #52234, this gives us symmetry between internal and external views of a crate, but in this case it's always an error to call a procedural macro in the same crate in which it's defined.

Closes #52225

@rust-highfive

This comment has been minimized.

Copy link
Collaborator

rust-highfive commented Jul 14, 2018

r? @eddyb

(rust_highfive has picked a reviewer for you, use r? to override)

@petrochenkov

This comment has been minimized.

Copy link
Contributor Author

petrochenkov commented Jul 14, 2018

r? @alexcrichton

cc @alercah
some people from @rust-lang/lang may be interested in this as well

@rust-highfive rust-highfive assigned alexcrichton and unassigned eddyb Jul 14, 2018

@joshtriplett

This comment has been minimized.

Copy link
Member

joshtriplett commented Jul 14, 2018

Seems plausible to me.

@alexcrichton

This comment has been minimized.

Copy link
Member

alexcrichton commented Jul 15, 2018

@bors: r+

@bors

This comment has been minimized.

Copy link
Contributor

bors commented Jul 15, 2018

📌 Commit 431aefb has been approved by alexcrichton

@bors

This comment has been minimized.

Copy link
Contributor

bors commented Jul 15, 2018

⌛️ Testing commit 431aefb with merge 82e5c9c...

bors added a commit that referenced this pull request Jul 15, 2018

Auto merge of #52383 - petrochenkov:pmns, r=alexcrichton
resolve: Functions introducing procedural macros reserve a slot in the macro namespace as well

Similarly to #52234, this gives us symmetry between internal and external views of a crate, but in this case it's always an error to call a procedural macro in the same crate in which it's defined.

Closes #52225
@bors

This comment has been minimized.

Copy link
Contributor

bors commented Jul 15, 2018

☀️ Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing 82e5c9c to master...

@bors bors merged commit 431aefb into rust-lang:master Jul 15, 2018

2 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.