]> git.lizzy.rs Git - rust.git/blob - tests/ui/resolve/editions-crate-root-2015.stderr
Rollup merge of #106144 - tgross35:patch-1, r=Mark-Simulacrum
[rust.git] / tests / ui / resolve / editions-crate-root-2015.stderr
1 error[E0433]: failed to resolve: maybe a missing crate `nonexistant`?
2   --> $DIR/editions-crate-root-2015.rs:4:26
3    |
4 LL |     fn global_inner(_: ::nonexistant::Foo) {
5    |                          ^^^^^^^^^^^ maybe a missing crate `nonexistant`?
6    |
7    = help: consider adding `extern crate nonexistant` to use the `nonexistant` crate
8
9 error[E0433]: failed to resolve: maybe a missing crate `nonexistant`?
10   --> $DIR/editions-crate-root-2015.rs:7:30
11    |
12 LL |     fn crate_inner(_: crate::nonexistant::Foo) {
13    |                              ^^^^^^^^^^^ maybe a missing crate `nonexistant`?
14    |
15    = help: consider adding `extern crate nonexistant` to use the `nonexistant` crate
16
17 error[E0412]: cannot find type `nonexistant` in the crate root
18   --> $DIR/editions-crate-root-2015.rs:11:25
19    |
20 LL |     fn bare_global(_: ::nonexistant) {
21    |                         ^^^^^^^^^^^ not found in the crate root
22
23 error[E0412]: cannot find type `nonexistant` in the crate root
24   --> $DIR/editions-crate-root-2015.rs:14:29
25    |
26 LL |     fn bare_crate(_: crate::nonexistant) {
27    |                             ^^^^^^^^^^^ not found in the crate root
28
29 error: aborting due to 4 previous errors
30
31 Some errors have detailed explanations: E0412, E0433.
32 For more information about an error, try `rustc --explain E0412`.