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

[DO NOT MERGE] Consistent handling of semicolons in macro expansions #78685

Closed
wants to merge 7 commits into from

Commits on Nov 9, 2020

  1. Parse bang macro as a statement when used in trailing expr position

    cc rust-lang#33953
    
    Currently, the following code produces an error
    
    ```rust
    fn main() {
        macro_rules! a {
            ($e:expr) => { $e; }
        }
        a!(true)
    }
    ```
    Aaron1011 committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    f650153 View commit details
    Browse the repository at this point in the history
  2. Work on macro_rules

    Aaron1011 committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    bb426ba View commit details
    Browse the repository at this point in the history
  3. Fix stdarch

    Aaron1011 committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    38b670e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d1de799 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b50d1c7 View commit details
    Browse the repository at this point in the history
  6. Disable more -Dwarnings

    Aaron1011 committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    2cdc3a4 View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2020

  1. Use patched dependencies

    Aaron1011 committed Nov 10, 2020
    Configuration menu
    Copy the full SHA
    677d6cb View commit details
    Browse the repository at this point in the history