summary refs log tree commit diff
path: root/tests/ui/resolve/issue-80079.rs
blob: 4dc61c320adce84dbc9a5b4060b0ac28ac026bcd (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
}