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 re-exports to use suggestions #73652

Merged
merged 2 commits into from
Jun 24, 2020

Commits on Jun 23, 2020

  1. Add re-exports to use suggestions

    In the following example, an inaccessible path is suggested via
    `use foo::bar::X;` whereas an accessible public exported path can
    be suggested instead.
    
    ```
    mod foo {
        mod bar {
            pub struct X;
        }
        pub use self::bar::X;
    }
    
    fn main() { X; }
    ```
    
    This fixes the issue.
    da-x committed Jun 23, 2020
    Configuration menu
    Copy the full SHA
    404df1c View commit details
    Browse the repository at this point in the history
  2. Review fixes

    da-x committed Jun 23, 2020
    Configuration menu
    Copy the full SHA
    037e930 View commit details
    Browse the repository at this point in the history