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

Allow MultiItemModifiers to expand into zero or many items #34253

Merged
merged 4 commits into from
Jun 23, 2016

Conversation

jseyfried
Copy link
Contributor

@jseyfried jseyfried commented Jun 13, 2016

Fixes #34223.
r? @nrc

@jseyfried
Copy link
Contributor Author

jseyfried commented Jun 13, 2016

While this is a syntax-[breaking-change] in theory, it is highly unlikely to cause breakage in practice. In particular, it will not break any crates on github.

After this PR, MultiItemModifiers will be at least as powerful as MultiItemDecorators, except that MultiItemDecorators have access to expanded AST (c.f. #34010). If we revert #34010 and instead fix #32950 some other way (c.f. this comment), MultiItemModifiers will be at least as powerful as MultiItemDecorators without exception.

@nrc
Copy link
Member

nrc commented Jun 23, 2016

@bors: r+

@bors
Copy link
Contributor

bors commented Jun 23, 2016

📌 Commit 58372af has been approved by nrc

@bors
Copy link
Contributor

bors commented Jun 23, 2016

⌛ Testing commit 58372af with merge 3908913...

bors added a commit that referenced this pull request Jun 23, 2016
Allow `MultiItemModifier`s to expand into zero or many items

Fixes #34223.
r? @nrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants