1 // Make sure that globs only bring in public things.
6 use self::fpriv as import;
22 fpriv(); //~ ERROR cannot find function `fpriv` in this scope
23 epriv(); //~ ERROR cannot find function `epriv` in this scope
24 B; //~ ERROR expected value, found enum `B`
25 C; //~ ERROR cannot find value `C` in this scope
26 import(); //~ ERROR: cannot find function `import` in this scope
28 foo::<A>(); //~ ERROR: cannot find type `A` in this scope
29 foo::<C>(); //~ ERROR: cannot find type `C` in this scope
30 foo::<D>(); //~ ERROR: cannot find type `D` in this scope