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

Fix mod from inline mod in non-mod-rs. #55108

Closed
wants to merge 1 commit into from

Commits on Oct 16, 2018

  1. Fix mod from inline mod in non-mod-rs.

    This works under the assumption that filesystem paths should match mod paths.
    
    When a mod is loaded from within an inline mod, it was using the wrong path when
    inside a non-mod-rs file. It was not including the path components from the
    non-mod-rs file.
    
    This change also includes:
    - Added a test to the run-pass test.
    - Added a test to verify the error message when missing.
    - Remove unused `non_modrs_mods` for feature gate diagnostics.
    - Fixes the run-pass test, it was accidentally removed during stabilization.
    - Remove the vestiges of the feature gate tests in `test/ui`.
    - Enable the diagnostic test on windows, there didn't seem to be a reason to
      disable it.
    ehuss committed Oct 16, 2018
    Configuration menu
    Copy the full SHA
    a6cb1e6 View commit details
    Browse the repository at this point in the history