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

Move raw ident validate into validate_ident #332

Merged
merged 2 commits into from Jun 20, 2022
Merged

Move raw ident validate into validate_ident #332

merged 2 commits into from Jun 20, 2022

Commits on Jun 20, 2022

  1. Copy the full SHA
    e04304f View commit details
    Browse the repository at this point in the history
  2. Restore compatibility with rustc older than 1.33

        error[E0658]: multiple patterns in `if let` and `while let` are unstable (see issue #48215)
           --> src/fallback.rs:704:9
            |
        704 | /         if let "" | "_" | "super" | "self" | "Self" | "crate" | "$crate" | "{{root}}" = string {
        705 | |             panic!("`{}` cannot be a raw identifier", string);
        706 | |         }
            | |_________^
    dtolnay committed Jun 20, 2022
    Copy the full SHA
    868a8ea View commit details
    Browse the repository at this point in the history