diff options
Diffstat (limited to 'tests/ui/resolve/issue-80079.rs')
| -rw-r--r-- | tests/ui/resolve/issue-80079.rs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/ui/resolve/issue-80079.rs b/tests/ui/resolve/issue-80079.rs new file mode 100644 index 00000000000..4795ed062c8 --- /dev/null +++ b/tests/ui/resolve/issue-80079.rs @@ -0,0 +1,12 @@ +// aux-build:issue-80079.rs + +// using a module from another crate should not cause errors to suggest private +// items in that module + +extern crate issue_80079; + +use issue_80079::public; + +fn main() { + let _ = Foo; //~ ERROR cannot find value `Foo` in this scope +} |
