X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Ftest%2Fui%2Fglob-resolve1.rs;h=32660fdb41876158f95f34860e837cefd8c052cc;hb=c50d9816c7b8fee1a7fa2fb7c6c47fc9b9ddd83f;hp=63c435cc20641268f130505e19e93e44ca463749;hpb=79d8a0fcefa5134db2a94739b1d18daa01fc6e9f;p=rust.git diff --git a/src/test/ui/glob-resolve1.rs b/src/test/ui/glob-resolve1.rs index 63c435cc206..32660fdb418 100644 --- a/src/test/ui/glob-resolve1.rs +++ b/src/test/ui/glob-resolve1.rs @@ -29,3 +29,7 @@ fn main() { foo::(); //~ ERROR: cannot find type `C` in this scope foo::(); //~ ERROR: cannot find type `D` in this scope } + +mod other { + pub fn import() {} +}