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-17 01:09:43 +02:00
mod foo {
pub struct A;
pub struct B;
}
use foo::{A, B as A};
2018-11-27 10:56:36 +01:00
//~^ ERROR is defined multiple times
2018-10-17 01:09:43 +02:00
fn main() {}