summaryrefslogtreecommitdiffstats
path: root/tests/incremental/struct_change_field_type_cross_crate/auxiliary/a.rs
blob: d3ddb32c33803b9a12328d0d4149a84160d72a44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#![crate_type="rlib"]

 #[cfg(rpass1)]
pub struct X {
    pub x: u32
}

#[cfg(rpass2)]
pub struct X {
    pub x: i32
}

pub struct EmbedX {
    pub x: X
}

pub struct Y {
    pub y: char
}