]> git.lizzy.rs Git - rust.git/blob - tests/ui/resolve/issue-80079.rs
Rollup merge of #106692 - eggyal:mv-binary_heap.rs-binary_heap/mod.rs, r=Mark-Simulacrum
[rust.git] / tests / ui / resolve / issue-80079.rs
1 // aux-build:issue-80079.rs
2
3 // using a module from another crate should not cause errors to suggest private
4 // items in that module
5
6 extern crate issue_80079;
7
8 use issue_80079::public;
9
10 fn main() {
11     let _ = Foo; //~ ERROR cannot find value `Foo` in this scope
12 }