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

When suggesting to import an item, also suggest changing the path if appropriate #96353

Merged
merged 2 commits into from
May 4, 2022

Commits on May 3, 2022

  1. When suggesting to import an item, also suggest changing the path if …

    …appropriate
    
    When we don't find an item we search all of them for an appropriate
    import and suggest `use`ing it. This is sometimes done for expressions
    that have paths with more than one segment. We now also suggest changing
    that path to work with the `use`.
    
    Fix rust-lang#95413
    estebank committed May 3, 2022
    Configuration menu
    Copy the full SHA
    5796726 View commit details
    Browse the repository at this point in the history
  2. Tweak wording

    estebank committed May 3, 2022
    Configuration menu
    Copy the full SHA
    4934a9e View commit details
    Browse the repository at this point in the history