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

Suggest using anonymous lifetime in impl Trait return #58919

Merged
merged 2 commits into from
Apr 1, 2019

Commits on Mar 29, 2019

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

Commits on Mar 31, 2019

  1. Suggest using anonymous lifetime in impl Trait return without hacks

    Fallback to `static_impl_trait` for nice error message by peeking at the
    return type and the lifetime type. Point at the return type instead of
    the return expr/stmt in NLL mode.
    estebank committed Mar 31, 2019
    Configuration menu
    Copy the full SHA
    30c247f View commit details
    Browse the repository at this point in the history