]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-43189.rs
Auto merge of #57018 - dcreager:redundant-linker, r=alexcrichton
[rust.git] / src / test / ui / issues / issue-43189.rs
1 // Issue 46112: An extern crate pub re-exporting libcore was causing
2 // paths rooted from `std` to be misrendered in the diagnostic output.
3
4 // ignore-windows
5 // aux-build:xcrate-issue-43189-a.rs
6 // aux-build:xcrate-issue-43189-b.rs
7
8 extern crate xcrate_issue_43189_b;
9 fn main() {
10     ().a();
11     //~^ ERROR no method named `a` found for type `()` in the current scope [E0599]
12 }