Skip to content
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.

Variadics are allowed in too many places. #60

Open
ehuss opened this issue Jun 28, 2019 · 0 comments
Open

Variadics are allowed in too many places. #60

ehuss opened this issue Jun 28, 2019 · 0 comments
Labels
grammar Issues with the definition of the rust grammar restrictions Issues related to the permissiveness of the grammar

Comments

@ehuss
Copy link
Contributor

ehuss commented Jun 28, 2019

The current grammar allows variadics everywhere, but probably should be restricted. The following are not allowed in libsyntax:

  • Fn ItemKind
  • Trait functions
  • impl functions
@ehuss ehuss added the grammar Issues with the definition of the rust grammar label Jun 28, 2019
@eddyb eddyb added restrictions Issues related to the permissiveness of the grammar and removed restrictions Issues related to the permissiveness of the grammar labels Jul 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
grammar Issues with the definition of the rust grammar restrictions Issues related to the permissiveness of the grammar
Projects
None yet
Development

No branches or pull requests

2 participants