mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
14 lines
160 B
Rust
14 lines
160 B
Rust
//@ build-pass (FIXME(62277): could be check-pass?)
|
|
|
|
extern crate self as foo;
|
|
|
|
struct S;
|
|
|
|
mod m {
|
|
fn check() {
|
|
foo::S; // OK
|
|
}
|
|
}
|
|
|
|
fn main() {}
|