about summary refs log tree commit diff
path: root/tests/ui/issues/issue-74236/main.rs
blob: 741d9e476b3f50fb6d05888b610be84728cc4268 (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
}