mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-03 12:13:43 +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() {}
|