]>
Commit | Line | Data |
---|---|---|
6a06907d XL |
1 | // edition:2015 |
2 | ||
3 | mod inner { | |
4 | fn global_inner(_: ::nonexistant::Foo) { | |
5 | //~^ ERROR failed to resolve: maybe a missing crate `nonexistant`? | |
6 | } | |
7 | fn crate_inner(_: crate::nonexistant::Foo) { | |
8 | //~^ ERROR failed to resolve: maybe a missing crate `nonexistant`? | |
9 | } | |
10 | ||
11 | fn bare_global(_: ::nonexistant) { | |
12 | //~^ ERROR cannot find type `nonexistant` in the crate root | |
13 | } | |
14 | fn bare_crate(_: crate::nonexistant) { | |
15 | //~^ ERROR cannot find type `nonexistant` in the crate root | |
16 | } | |
17 | } | |
18 | ||
19 | fn main() { | |
20 | ||
21 | } |