1 // Copyright 2013-2015 The Rust Project Developers. See the COPYRIGHT
2 // file at the top-level directory of this distribution and at
3 // http://rust-lang.org/COPYRIGHT.
5 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8 // option. This file may not be copied, modified, or distributed
9 // except according to those terms.
11 // ignore-tidy-linelength
13 use foo::bar; //~ ERROR unresolved import `foo::bar` [E0432]
14 //~^ Maybe a missing `extern crate foo;`?
16 use bar::Baz as x; //~ ERROR unresolved import `bar::Baz` [E0432]
17 //~^ no `Baz` in `bar`. Did you mean to use `Bar`?
19 use food::baz; //~ ERROR unresolved import `food::baz`
20 //~^ no `baz` in `food`. Did you mean to use `bag`?
22 use food::{beens as Foo}; //~ ERROR unresolved import `food::beens` [E0432]
23 //~^ no `beens` in `food`. Did you mean to use `beans`?
30 pub use self::zug::baz::{self as bag, foobar as beans};
44 use MyEnum::*; //~ ERROR unresolved import `MyEnum::*` [E0432]
45 //~^ Did you mean `self::MyEnum`?
53 use Enum::*; //~ ERROR unresolved import `Enum::*` [E0432]
54 //~^ Did you mean `self::Enum`?