rust/src/test/ui/issues/issue-43189.rs
2018-12-25 21:08:33 -07:00

13 lines
379 B
Rust

// 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]
}