rust/tests/ui/imports/issue-45829/issue-45829.rs

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

10 lines
122 B
Rust
Raw Normal View History

2018-10-16 23:09:43 +00:00
mod foo {
pub struct A;
pub struct B;
}
use foo::{A, B as A};
2018-11-27 09:56:36 +00:00
//~^ ERROR is defined multiple times
2018-10-16 23:09:43 +00:00
fn main() {}