| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
#[macro_use] |
| 10 |
extern crate proptest_derive; |
| 11 |
|
| 12 |
fn main() {} |
| 13 |
|
| 14 |
#[derive(Debug, Arbitrary)] |
| 15 |
|
| 16 |
|
| 17 |
struct T1<T> { |
| 18 |
#[proptest(no_bound)] |
| 19 |
#[proptest(skip)] |
| 20 |
field: ::std::marker::PhantomData<T>, |
| 21 |
} |
| 22 |
|
| 23 |
#[derive(Debug, Arbitrary)] |
| 24 |
struct T2<T>( |
| 25 |
#[proptest(no_bound)] |
| 26 |
::std::marker::PhantomData<T>, |
| 27 |
); |
| 28 |
|
| 29 |
#[derive(Debug, Arbitrary)] |
| 30 |
enum T3<T> { |
| 31 |
#[proptest(no_bound)] |
| 32 |
V1(T), |
| 33 |
} |
| 34 |
|
| 35 |
#[derive(Debug, Arbitrary)] |
| 36 |
enum T4<T> { |
| 37 |
#[proptest(no_bound)] |
| 38 |
V1 { |
| 39 |
field: T |
| 40 |
} |
| 41 |
} |
| 42 |
|
| 43 |
#[derive(Debug, Arbitrary)] |
| 44 |
enum T5<T> { |
| 45 |
V1( |
| 46 |
#[proptest(no_bound)] |
| 47 |
T |
| 48 |
), |
| 49 |
} |