summaryrefslogtreecommitdiffstats
path: root/tests/ui/resolve/issue-80079.rs
blob: 4795ed062c8f6ddeed9755d365b0b6b53122aa95 (plain)
1
2
3
4
5
6
7
8
9
10
11
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
}