// except according to those terms.
use x = m::f; //~ ERROR failed to resolve import
+ //~^ unresolved import: there is no `f` in `m`
mod m {
}
// except according to those terms.
use x = m::f; //~ ERROR failed to resolve import
+ //~^ ERROR unresolved import: there is no `f` in `m`
mod m {
}
// except according to those terms.
use zoo::{duck, goose}; //~ ERROR failed to resolve import
+ //~^ ERROR unresolved import: found `goose` in `zoo` but it is private
mod zoo {
pub enum bird {
// except according to those terms.
use zoo::fly; //~ ERROR failed to resolve import
+ //~^ ERROR unresolved import: found `fly` in `zoo` but it is private
mod zoo {
priv type fly = ();
// except according to those terms.
use zoo::fly; //~ ERROR failed to resolve import
+ //~^ ERROR unresolved import: found `fly` in `zoo` but it is private
mod zoo {
priv fn fly() {}
-use super::f; //~ ERROR unresolved name
-//~^ ERROR failed to resolve import
+use super::f; //~ ERROR failed to resolve import
fn main() {
}