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

rustc_span: improve bounds checks in byte_pos_to_line_and_col #78423

Merged
merged 2 commits into from
Oct 30, 2020

Commits on Oct 26, 2020

  1. rustc_span: improve bounds checks in byte_pos_to_line_and_col

    The effect of this change is to consider edge-case spans that start or
    end at the position one past the end of a file to be valid during span
    hashing and encoding. This change means that these spans will be
    preserved across incremental compilation sessions when they are part of
    a serialized query result, instead of causing the dummy span to be used.
    tgnottingham committed Oct 26, 2020
    Configuration menu
    Copy the full SHA
    df59a44 View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2020

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