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

new unstable option: -Zwrite-long-types-to-disk #113893

Merged
merged 2 commits into from
Jul 26, 2023

Commits on Jul 24, 2023

  1. new unstable option: -Zwrite-long-types-to-disk

    This option guards the logic of writing long type names in files and
    instead using short forms in error messages in rustc_middle/ty/error
    behind a flag. The main motivation for this change is to disable this
    behaviour when running ui tests.
    
    This logic can be triggered by running tests in a directory that has a
    long enough path, e.g. /my/very-long-path/where/rust-codebase/exists/
    
    This means ui tests can fail depending on how long the path to their
    file is.
    
    Some ui tests actually rely on this behaviour for their assertions,
    so for those we enable the flag manually.
    mdibaiee committed Jul 24, 2023
    Configuration menu
    Copy the full SHA
    8df3966 View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2023

  1. Configuration menu
    Copy the full SHA
    b2d052b View commit details
    Browse the repository at this point in the history