14 lines
124 B
Rust
14 lines
124 B
Rust
|
// compile-pass
|
||
|
|
||
|
extern crate self as foo;
|
||
|
|
||
|
struct S;
|
||
|
|
||
|
mod m {
|
||
|
fn check() {
|
||
|
foo::S; // OK
|
||
|
}
|
||
|
}
|
||
|
|
||
|
fn main() {}
|