mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
22 lines
226 B
Rust
22 lines
226 B
Rust
//@ check-pass
|
|
|
|
#[derive(Debug)]
|
|
struct H;
|
|
|
|
mod p {
|
|
use super::*;
|
|
|
|
#[derive(Clone)]
|
|
struct H;
|
|
|
|
mod t {
|
|
use super::*;
|
|
|
|
fn f() {
|
|
let h: crate::p::H = H;
|
|
}
|
|
}
|
|
}
|
|
|
|
fn main() {}
|