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

Tracking issue for RFC amendment #1384 #30450

Closed
pnkfelix opened this Issue Dec 17, 2015 · 2 comments

Comments

Projects
None yet
4 participants
@pnkfelix
Copy link
Member

pnkfelix commented Dec 17, 2015

Need to implement RFC amendment rust-lang/rfcs#1384 to RFC 550 (macro input future proofing)

  • land amendment with warning for macro definitions that were previously accepted but will error in next cycle
  • after a cycle, promote the warning to an error.

@pnkfelix pnkfelix self-assigned this Dec 17, 2015

@pnkfelix

This comment has been minimized.

Copy link
Member Author

pnkfelix commented Dec 17, 2015

cc #20563

pnkfelix added a commit to pnkfelix/rust that referenced this issue Jan 4, 2016

macro_rules: proper FIRST/FOLLOW computations for checking macro_rule…
…s validity.

See RFC amendment 1384 and tracking issue 30450:
  rust-lang/rfcs#1384
  rust-lang#30450

Moved old check_matcher code into check_matcher_old

combined the two checks to enable a warning cycle (where we will
continue to error if the two checks agree to reject, accept if the new
check says accept, and warn if the old check accepts but the new check
rejects).

pnkfelix added a commit to pnkfelix/rust that referenced this issue Jan 5, 2016

macro_rules: proper FIRST/FOLLOW computations for checking macro_rule…
…s validity.

See RFC amendment 1384 and tracking issue 30450:
  rust-lang/rfcs#1384
  rust-lang#30450

Moved old check_matcher code into check_matcher_old

combined the two checks to enable a warning cycle (where we will
continue to error if the two checks agree to reject, accept if the new
check says accept, and warn if the old check accepts but the new check
rejects).

bors added a commit that referenced this issue Jan 7, 2016

Auto merge of #30694 - pnkfelix:issue-25658-real-first-follow, r=nrc
Proper first and follow sets for macro_rules future proofing

implements first stage of RFC amendment 1384; see #30450

pnkfelix added a commit to pnkfelix/rust that referenced this issue Jan 7, 2016

macro_rules: proper FIRST/FOLLOW computations for checking macro_rule…
…s validity.

See RFC amendment 1384 and tracking issue 30450:
  rust-lang/rfcs#1384
  rust-lang#30450

Moved old check_matcher code into check_matcher_old

combined the two checks to enable a warning cycle (where we will
continue to error if the two checks agree to reject, accept if the new
check says accept, and warn if the old check accepts but the new check
rejects).

bors added a commit that referenced this issue Jan 11, 2016

Auto merge of #30694 - pnkfelix:issue-25658-real-first-follow, r=nrc
Proper first and follow sets for macro_rules future proofing

implements first stage of RFC amendment 1384; see #30450

nagisa added a commit to nagisa/rust that referenced this issue Jan 11, 2016

Rollup merge of rust-lang#30694 - pnkfelix:issue-25658-real-first-fol…
…low, r=nrc

Proper first and follow sets for macro_rules future proofing

implements first stage of RFC amendment 1384; see rust-lang#30450

@brson brson added the B-unstable label Mar 1, 2017

@pnkfelix

This comment has been minimized.

Copy link
Member Author

pnkfelix commented Oct 24, 2018

The warning was upgraded to an error in #33982.

@pnkfelix pnkfelix closed this Oct 24, 2018

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.