mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 23:12:02 +00:00
20 lines
240 B
Rust
20 lines
240 B
Rust
//@ check-pass
|
|
// https://github.com/rust-lang/rust/issues/56593#issue-388659456
|
|
|
|
struct Foo;
|
|
|
|
mod foo {
|
|
use super::*;
|
|
|
|
#[derive(Debug)]
|
|
pub struct Foo;
|
|
}
|
|
|
|
mod bar {
|
|
use super::foo::*;
|
|
|
|
fn bar(_: Foo) {}
|
|
}
|
|
|
|
fn main() {}
|