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

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

10 lines
117 B
Rust
Raw Normal View History

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