Files
rust/tests/ui/issues/issue-74236/main.rs

10 lines
234 B
Rust
Raw Normal View History

//@ edition:2018
//@ aux-build:dep.rs
//@ compile-flags:--extern dep
2020-07-11 14:42:08 +03:00
fn main() {
// Trigger an error that will print the path of dep::private::Pub (as "dep::Renamed").
let () = dep::Renamed;
//~^ ERROR mismatched types
}