Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
imports
/
import-from-missing.rs
blob: 8eae700208f9984d73e729d2d937721b71c6306b [
file
] [
log
] [
blame
]
use
spam
::{
ham
,
eggs
};
//~ ERROR unresolved import `spam::eggs` [E0432]
//~^ no `eggs` in `spam`
mod
spam
{
pub
fn
ham
()
{
}
}
fn
main
()
{
ham
();
// Expect eggs to pass because the compiler inserts a fake name for it
eggs
();
}