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-05 04:00:03 +00:00
// aux-build:issue-45829-b.rs
2018-10-17 01:09:43 +02:00
mod foo {
pub mod bar {}
}
use foo::bar;
extern crate issue_45829_b as bar;
2018-11-27 10:56:36 +01:00
//~^ ERROR the name `bar` is defined multiple times
fn main() {}