fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
535 B15 linesraw
1error[E0433]: failed to resolve: use of undeclared type or module `thing`
2  --> $DIR/bad-module.rs:2:15
3   |
4LL |     let foo = thing::len(Vec::new());
5   |               ^^^^^ use of undeclared type or module `thing`
6
7error[E0433]: failed to resolve: use of undeclared type or module `foo`
8  --> $DIR/bad-module.rs:5:15
9   |
10LL |     let foo = foo::bar::baz();
11   |               ^^^ use of undeclared type or module `foo`
12
13error: aborting due to 2 previous errors
14
15For more information about this error, try `rustc --explain E0433`.