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

Fix -Z unpretty=everybody_loops #73523

Merged
merged 1 commit into from
Jun 24, 2020
Merged

Commits on Jun 20, 2020

  1. Fix -Z unpretty=everybody_loops

    It turns out that this has not been working for who knows how long.
    Previously:
    
    ```
    pub fn h() { 1 + 2; }
    ```
    
    After this change:
    
    ```
    pub fn h() { loop {} }
    ```
    
    This only affected the pass when run with the command line
    pretty-printing option, so rustdoc was still replacing bodies with
    `loop {}`.
    jyn514 committed Jun 20, 2020
    Configuration menu
    Copy the full SHA
    95f8daa View commit details
    Browse the repository at this point in the history