summaryrefslogtreecommitdiffstats
path: root/src/test/ui/resolve/bad-module.rs
blob: b23e97c2cf6bca2c0cf3e67db7e5007f839cbd80 (plain)
1
2
3
4
5
6
7
fn main() {
    let foo = thing::len(Vec::new());
    //~^ ERROR failed to resolve: use of undeclared crate or module `thing`

    let foo = foo::bar::baz();
    //~^ ERROR failed to resolve: use of undeclared crate or module `foo`
}