Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign up"use self::..." doesn't work inside of functions #18084
Comments
sfackler
added
the
A-resolve
label
Oct 16, 2014
sfackler
added a commit
to sfackler/rust
that referenced
this issue
Oct 16, 2014
sfackler
added a commit
to sfackler/rust
that referenced
this issue
Oct 17, 2014
This comment has been minimized.
This comment has been minimized.
|
triage: still true today |
sfackler
referenced this issue
Apr 9, 2015
Closed
Non-module extern crate is not visible to imports #24219
This comment has been minimized.
This comment has been minimized.
|
Related: |
This comment has been minimized.
This comment has been minimized.
|
Triage: no change |
Mark-Simulacrum
added
C-feature-request
T-lang
labels
Jul 22, 2017
petrochenkov
referenced this issue
Sep 5, 2018
Closed
(Modules) Tracking issue for Picking a Module Path System variant #53130
csmoe
referenced this issue
Sep 24, 2018
Closed
Strange behaviour while resoving modules placed in constants #54525
This comment has been minimized.
This comment has been minimized.
|
Triage: this still fails, but gives an error and warning both, like #54390 |
This comment has been minimized.
This comment has been minimized.
|
There's a chance that this will be fixed by |
petrochenkov
referenced this issue
Nov 12, 2018
Merged
[beta] resolve: Implement uniform paths 2.0 #55884
bors
added a commit
that referenced
this issue
Nov 13, 2018
bors
added a commit
that referenced
this issue
Nov 14, 2018
bors
added a commit
that referenced
this issue
Nov 17, 2018
bors
added a commit
that referenced
this issue
Nov 18, 2018
bors
added a commit
that referenced
this issue
Nov 18, 2018
This comment has been minimized.
This comment has been minimized.
|
fn main() {
use inner::A;
mod inner {
pub struct A;
}
}"just works". |
petrochenkov
closed this
Nov 18, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sfackler commentedOct 16, 2014
This works, so I'm assuming the issue is that
selfdoesn't behave correctly inside of an anonymous module: