| 1 |
use daft::Diffable; |
| 2 |
|
| 3 |
#[non_exhaustive] |
| 4 |
#[derive(Diffable)] |
| 5 |
struct NonExhaustive { |
| 6 |
pub a: i32, |
| 7 |
pub b: i32, |
| 8 |
} |
| 9 |
|
| 10 |
#[non_exhaustive] |
| 11 |
#[derive(Diffable)] |
| 12 |
enum NonExhaustiveEnum { |
| 13 |
A(i32), |
| 14 |
#[non_exhaustive] |
| 15 |
B { |
| 16 |
b: i32, |
| 17 |
}, |
| 18 |
} |
| 19 |
|
| 20 |
fn main() {} |