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