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

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