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

[beta] backports #82062

Merged
merged 6 commits into from
Feb 14, 2021
Merged

[beta] backports #82062

merged 6 commits into from
Feb 14, 2021

Commits on Feb 13, 2021

  1. Configuration menu
    Copy the full SHA
    a21d90a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6a98a31 View commit details
    Browse the repository at this point in the history
  3. parser: Fix panic in 'const impl' recovery

    The panic happens when in recovery parsing a full `impl`
    (`parse_item_impl`) fails and we drop the `DiagnosticBuilder` for the
    recovery suggestion and return the `parse_item_impl` error.
    
    We now raise the original error "expected identifier found `impl`" when
    parsing the `impl` fails.
    
    Note that the regression test is slightly simplified version of the
    original repro in rust-lang#81806, to make the error output smaller and more
    resilient to unrelated changes in parser error messages.
    
    Fixes rust-lang#81806
    osa1 authored and Mark-Simulacrum committed Feb 13, 2021
    Configuration menu
    Copy the full SHA
    853f787 View commit details
    Browse the repository at this point in the history
  4. Revert "Get rid of custom pretty-printing in rustdoc"

    This reverts commit 31375d2.
    LeSeulArtichaut authored and Mark-Simulacrum committed Feb 13, 2021
    Configuration menu
    Copy the full SHA
    af18bf8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2d6c4b3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b016024 View commit details
    Browse the repository at this point in the history