Skip to content

Commit

Permalink
Remove macros with optional ident
Browse files Browse the repository at this point in the history
This is now unsupported and treated as a hard syntax error.
cc rust-lang/rust#62258.
  • Loading branch information
topecongiro committed Jul 28, 2019
1 parent fcc1d87 commit bdbe7a7
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 12 deletions.
3 changes: 0 additions & 3 deletions tests/source/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ itemmacro!(really, long.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

itemmacro!{this, is.brace().formatted()}

peg_file! modname ("mygrammarfile.rustpeg");

fn main() {
foo! ( );

Expand Down Expand Up @@ -474,7 +472,6 @@ pub fn fold_abi<V: Fold + ?Sized>(_visitor: &mut V, _i: Abi) -> Abi {

// #3463
x ! {()}
x ! y {()}

// #3583
foo!(|x = y|);
6 changes: 0 additions & 6 deletions tests/target/issue-3439.rs

This file was deleted.

3 changes: 0 additions & 3 deletions tests/target/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ itemmacro!(

itemmacro! {this, is.brace().formatted()}

peg_file! modname("mygrammarfile.rustpeg");

fn main() {
foo!();

Expand Down Expand Up @@ -1051,7 +1049,6 @@ pub fn fold_abi<V: Fold + ?Sized>(_visitor: &mut V, _i: Abi) -> Abi {

// #3463
x! {()}
x! y {()}

// #3583
foo!(|x = y|);

0 comments on commit bdbe7a7

Please sign in to comment.