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 defining type parameter when appropriate #68447

Merged
merged 1 commit into from
Jan 27, 2020

Commits on Jan 26, 2020

  1. Suggest defining type parameter when appropriate

    ```
    error[E0412]: cannot find type `T` in this scope
     --> file.rs:3:12
      |
    3 | impl Trait<T> for Struct {}
      |     -      ^ not found in this scope
      |     |
      |     help: you might be missing a type parameter: `<T>`
    ```
    
    Fix rust-lang#64298.
    estebank committed Jan 26, 2020
    Configuration menu
    Copy the full SHA
    697fdc5 View commit details
    Browse the repository at this point in the history