rust/tests/ui/imports/issue-45829/rename-extern-vs-use.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
178 B
Rust
Raw Normal View History

2018-11-04 22:00:03 -06:00
// aux-build:issue-45829-b.rs
2018-10-16 18:09:43 -05:00
mod foo {
pub mod bar {}
}
use foo::bar;
extern crate issue_45829_b as bar;
2018-11-27 03:56:36 -06:00
//~^ ERROR the name `bar` is defined multiple times
fn main() {}