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

librustc_errors: Extract sugg/subst handling into method #64058

Merged
merged 1 commit into from
Sep 3, 2019

Commits on Sep 1, 2019

  1. librustc_errors: Extract sugg/subst handling into method

    An initial refactoring before working on rust-lang#61809.
    
    This moves the whole block into a method so that it can be reused in the
    annotate-snippet output. It's already used in the new emitter, but
    there's no UI tests with suggestions included in this PR.
    
    A first look at some UI tests with suggestions showed that there's some
    more work to do in [annotate-snippet-rs][annotate-snippet-rs] before the
    new output is closer to the current one.
    phansch committed Sep 1, 2019
    Configuration menu
    Copy the full SHA
    84ccbe2 View commit details
    Browse the repository at this point in the history