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