summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-74236/main.rs
blob: daa7cfcf9a106ba5a3ffecfcaaed71c01d532ce0 (plain)
1
2
3
4
5
6
7
8
9
// edition:2018
// aux-build:dep.rs
// compile-flags:--extern dep

fn main() {
    // Trigger an error that will print the path of dep::private::Pub (as "dep::Renamed").
    let () = dep::Renamed;
    //~^ ERROR mismatched types
}