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 calling associated fn inside traits #78420

Merged
merged 1 commit into from
Nov 1, 2020

Commits on Oct 26, 2020

  1. Suggest calling associated fn inside traits

    When calling a function that doesn't exist inside of a trait's
    associated `fn`, and another associated `fn` in that trait has that
    name, suggest calling it with the appropriate fully-qualified path.
    
    Expand the label to be more descriptive.
    
    Prompted by the following user experience:
    https://users.rust-lang.org/t/cannot-find-function/50663
    estebank committed Oct 26, 2020
    Configuration menu
    Copy the full SHA
    9e16213 View commit details
    Browse the repository at this point in the history