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

Add test for suggestion to borrow unsized function parameters #84728

Merged
merged 1 commit into from
May 7, 2021

Commits on May 6, 2021

  1. Add test for suggestion to borrow unsized function parameters

    This is a regression test for rust-lang#82820.
    
    This test case is included in more general tests, but I think the error
    regressed because there were a bunch of other diagnostic changes in the
    test that obscured this regression.
    
    Hopefully, having a test specific to the suggestion, and running rustfix
    for the test, will prevent this error from regressing in the future.
    camelid committed May 6, 2021
    Configuration menu
    Copy the full SHA
    a7500e5 View commit details
    Browse the repository at this point in the history