blob: d1461e7b041c5b27191503a46261753567af7a2b [file] [log] [blame]
// There should be *no* unused import errors.
#![deny(unused_imports)]
mod qux {
fn quz() {}
}
use qux::quz; //~ ERROR function `quz` is private
use qux::bar; //~ ERROR unresolved import `qux::bar`
use foo::bar; //~ ERROR unresolved import `foo`
fn main() {}