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

Reserve prefixed identifiers and literals (RFC 3101) #85359

Merged
merged 14 commits into from
Jun 27, 2021

Commits on Jun 26, 2021

  1. Reserve prefixed identifiers and string literals (RFC 3101)

    This commit denies any identifiers immediately followed by
    one of three tokens `"`, `'` or `#`, which is stricter than
    the requirements of RFC 3101 but may be necessary according
    to the discussion at [Zulip].
    
    [Zulip]: https://rust-lang.zulipchat.com/#narrow/stream/268952-edition-2021/topic/reserved.20prefixes/near/238470099
    lrh2000 committed Jun 26, 2021
    Configuration menu
    Copy the full SHA
    8dee9bc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c856e6f View commit details
    Browse the repository at this point in the history
  3. Fix note in reserved prefix error.

    m-ou-se authored and lrh2000 committed Jun 26, 2021
    Configuration menu
    Copy the full SHA
    ce43fc9 View commit details
    Browse the repository at this point in the history
  4. Update reserved-prefixes test output.

    m-ou-se authored and lrh2000 committed Jun 26, 2021
    Configuration menu
    Copy the full SHA
    40fb2e9 View commit details
    Browse the repository at this point in the history
  5. Add migration lint for reserved prefixes.

    m-ou-se authored and lrh2000 committed Jun 26, 2021
    Configuration menu
    Copy the full SHA
    d837c00 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3b18e21 View commit details
    Browse the repository at this point in the history
  7. Improve comments for reserved prefixes.

    Co-authored-by: Niko Matsakis <niko@alum.mit.edu>
    2 people authored and lrh2000 committed Jun 26, 2021
    Configuration menu
    Copy the full SHA
    6adce70 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    d40be0f View commit details
    Browse the repository at this point in the history
  9. Rename 'bad prefix' to 'unknown prefix'.

    m-ou-se authored and lrh2000 committed Jun 26, 2021
    Configuration menu
    Copy the full SHA
    0eeeebc View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    c7f7c2e View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    7490305 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    2bcd663 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    e9fc942 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    f6dd137 View commit details
    Browse the repository at this point in the history