-
Notifications
You must be signed in to change notification settings - Fork 13.4k
unresolved import using separate files, but not mod statements #26873
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Labels
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
Comments
cc @TheNeikos |
This appears to work now. |
Merged
durka
added a commit
to durka/rust
that referenced
this issue
Dec 16, 2015
Manishearth
added a commit
to Manishearth/rust
that referenced
this issue
Dec 16, 2015
I think we can close rust-lang#26873 with these tests.
Manishearth
added a commit
to Manishearth/rust
that referenced
this issue
Dec 17, 2015
I think we can close rust-lang#26873 with these tests.
durka
added a commit
to durka/rust
that referenced
this issue
Dec 18, 2015
bors
added a commit
that referenced
this issue
Dec 19, 2015
I think we can close #26873 with these tests.
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Labels
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
This code compiles:
However, splitting the code into files causes compilation to fail:
I am not sure whether
use C::T
or useself::C::T
is correct; regardless, replacing the latter with the former inA/mod.rs
produces a similar error:The text was updated successfully, but these errors were encountered: