]> git.lizzy.rs Git - rust.git/blob - src/test/ui/typeck/issue-43189.rs
Rollup merge of #100984 - ChrisDenton:reinstate-init, r=Mark-Simulacrum
[rust.git] / src / test / ui / typeck / 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
12 }