summary refs log tree commit diff
path: root/src/test/ui/issues/issue-43189.rs
blob: f4f4dce7682fa51913b417046260be5ce18f4f2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Issue 46112: An extern crate pub re-exporting libcore was causing
// paths rooted from `std` to be misrendered in the diagnostic output.

// ignore-windows
// aux-build:xcrate-issue-43189-a.rs
// aux-build:xcrate-issue-43189-b.rs

extern crate xcrate_issue_43189_b;
fn main() {
    ().a();
    //~^ ERROR no method named `a` found for type `()` in the current scope [E0599]
}