rust/tests/ui/resolve/bad-module.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
234 B
Rust
Raw Normal View History

fn main() {
let foo = thing::len(Vec::new());
2020-08-27 12:27:14 +00:00
//~^ ERROR failed to resolve: use of undeclared crate or module `thing`
let foo = foo::bar::baz();
2020-08-27 12:27:14 +00:00
//~^ ERROR failed to resolve: use of undeclared crate or module `foo`
}