rust/src/test/ui/issues/issue-43189.rs

13 lines
379 B
Rust
Raw Normal View History

2018-05-28 12:55:32 -05:00
// Issue 46112: An extern crate pub re-exporting libcore was causing
// paths rooted from `std` to be misrendered in the diagnostic output.
// ignore-windows
2018-11-04 22:00:03 -06:00
// aux-build:xcrate-issue-43189-a.rs
// aux-build:xcrate-issue-43189-b.rs
2018-05-28 12:55:32 -05:00
extern crate xcrate_issue_43189_b;
fn main() {
().a();
//~^ ERROR no method named `a` found for type `()` in the current scope [E0599]
}