]> git.proxmox.com Git - rustc.git/blob - src/test/ui/use/use-mod/use-mod-6.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / use / use-mod / use-mod-6.rs
1 mod foo {
2 pub mod bar {
3 pub fn drop() {}
4 }
5 }
6
7 use foo::bar::self as abc;
8 //~^ ERROR `self` imports are only allowed within a { } list
9
10 fn main() {
11 // Because of error recovery this shouldn't error
12 abc::drop();
13 }