blob: 2b81dfc236a5b3adfcb86d15e12102034d9b019f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// 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() {}
|