Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
imports
/
extern-crate-self
/
extern-crate-self-pass.rs
blob: 0cd2a0815615ca779fb0ca452c078eb0369d8862 [
file
] [
log
] [
blame
]
//@ build-pass (FIXME(62277): could be check-pass?)
extern
crate
self
as
foo
;
struct
S
;
mod
m
{
fn
check
()
{
foo
::
S
;
// OK
}
}
fn
main
()
{}