mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 15:01:51 +00:00
10 lines
231 B
Rust
10 lines
231 B
Rust
// 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
|
|
}
|