| 1 |
error: invalid component: ordinal was 0 |
| 2 |
--> tests/integration/compile-fail/invalid_utc_datetime.rs:4:32 |
| 3 |
| |
| 4 |
4 | let _ = utc_datetime!(2021-000 0:00); |
| 5 |
| ^^^ |
| 6 |
|
| 7 |
error: invalid component: hour was 24 |
| 8 |
--> tests/integration/compile-fail/invalid_utc_datetime.rs:5:36 |
| 9 |
| |
| 10 |
5 | let _ = utc_datetime!(2021-001 24:00); |
| 11 |
| ^^ |
| 12 |
|
| 13 |
error: unexpected token: 0 |
| 14 |
--> tests/integration/compile-fail/invalid_utc_datetime.rs:6:41 |
| 15 |
| |
| 16 |
6 | let _ = utc_datetime!(2021-001 0:00 0); |
| 17 |
| ^ |
| 18 |
|
| 19 |
error: unexpected token: UTC |
| 20 |
--> tests/integration/compile-fail/invalid_utc_datetime.rs:7:41 |
| 21 |
| |
| 22 |
7 | let _ = utc_datetime!(2021-001 0:00 UTC); |
| 23 |
| ^^^ |
| 24 |
|
| 25 |
error: unexpected token: UTC |
| 26 |
--> tests/integration/compile-fail/invalid_utc_datetime.rs:8:41 |
| 27 |
| |
| 28 |
8 | let _ = utc_datetime!(2021-001 0:00 UTC x); |
| 29 |
| ^^^ |