]> git.proxmox.com Git - rustc.git/blame - src/test/ui/resolve/editions-crate-root-2015.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / resolve / editions-crate-root-2015.rs
CommitLineData
6a06907d
XL
1// edition:2015
2
3mod 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
19fn main() {
20
21}