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

testsuite: Add test for #5582, which passes. #10268

Closed
wants to merge 1 commit into from

Conversation

catamorphism
Copy link
Contributor

Closes #5582

@huonw
Copy link
Member

huonw commented Nov 4, 2013

I'm not sure this is correctly working. The follow still fails:

mod foo {
    use vectors = std::vec;
    use vectors::raw;
}

with error: unresolved import. maybe a missing extern mod vectors? error: failed to resolve import vectors::raw``.

I think the test case here works because it's importing vectors into the top of the crate, and use statements are always relative to there.

@catamorphism
Copy link
Contributor Author

@huonw is right -- this is the wrong test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

chained import error message unhelpful
2 participants