Skip to content

Conversation

@alexcrichton
Copy link
Member

Accounts for rust-lang/rust#27000

cc @cmr

@alexcrichton alexcrichton added the T-lang Relevant to the language team, which will review and decide on the RFC. label Jul 13, 2015
@emberian
Copy link
Contributor

r+

@nikomatsakis
Copy link
Contributor

cc @pnkfelix

@nikomatsakis
Copy link
Contributor

Hard to argue against this!

@nikomatsakis
Copy link
Contributor

To be clear, did code for this already land?

@alexcrichton
Copy link
Member Author

@nikomatsakis yeah it landed in rust-lang/rust#27000 (although we can revert if we don't want to accept this RFC)

@dgrunwald
Copy link
Contributor

Any reason we don't allow { after ty?
In particular, I'd like to write a macro that mimics function definition syntax:
($paramname:ident) -> $rettype:ty $body:block

@nikomatsakis
Copy link
Contributor

@dgrunwald yes, seems like there isn't a good one. also where keyword.

@huonw
Copy link
Contributor

huonw commented Jul 31, 2015

cc #733

@nikomatsakis
Copy link
Contributor

Hear ye, hear ye. This RFC is entering final comment period.

/me thought it already was

@nikomatsakis nikomatsakis added the final-comment-period Will be merged/postponed/closed in ~10 calendar days unless new substational objections are raised. label Jul 31, 2015
@nikomatsakis nikomatsakis merged commit 4083ad7 into rust-lang:master Aug 14, 2015
@Centril Centril added A-macros Macro related proposals and issues A-syntax Syntax related proposals & ideas labels Nov 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-macros Macro related proposals and issues A-syntax Syntax related proposals & ideas final-comment-period Will be merged/postponed/closed in ~10 calendar days unless new substational objections are raised. T-lang Relevant to the language team, which will review and decide on the RFC.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants