Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
use
/
use-mod
/
use-mod-6.rs
blob: 1f8777daca491d5c8b4b86e6d589308771d633b5 [
file
] [
log
] [
blame
] [
edit
]
mod
foo
{
pub
mod
bar
{
pub
fn
drop
()
{}
}
}
use
foo
::
bar
::
self
as
abc
;
//~^ ERROR `self` imports are only allowed within a { } list
fn
main
()
{
// Because of error recovery this shouldn't error
abc
::
drop
();
}