| 1 |
error: invalid component: hour was 26 |
| 2 |
--> tests/integration/compile-fail/invalid_offset.rs:4:22 |
| 3 |
| |
| 4 |
4 | let _ = offset!(+26); |
| 5 |
| ^^ |
| 6 |
|
| 7 |
error: invalid component: minute was 60 |
| 8 |
--> tests/integration/compile-fail/invalid_offset.rs:5:24 |
| 9 |
| |
| 10 |
5 | let _ = offset!(+0:60); |
| 11 |
| ^^ |
| 12 |
|
| 13 |
error: invalid component: second was 60 |
| 14 |
--> tests/integration/compile-fail/invalid_offset.rs:6:27 |
| 15 |
| |
| 16 |
6 | let _ = offset!(+0:00:60); |
| 17 |
| ^^ |
| 18 |
|
| 19 |
error: unexpected token: 0 |
| 20 |
--> tests/integration/compile-fail/invalid_offset.rs:7:21 |
| 21 |
| |
| 22 |
7 | let _ = offset!(0); |
| 23 |
| ^ |
| 24 |
|
| 25 |
error: missing component: sign |
| 26 |
--> tests/integration/compile-fail/invalid_offset.rs:8:13 |
| 27 |
| |
| 28 |
8 | let _ = offset!(); |
| 29 |
| ^^^^^^^^^ |
| 30 |
| |
| 31 |
= note: this error originates in the macro `offset` (in Nightly builds, run with -Z macro-backtrace for more info) |
| 32 |
|
| 33 |
error: invalid component: hour was 0a |
| 34 |
--> tests/integration/compile-fail/invalid_offset.rs:9:22 |
| 35 |
| |
| 36 |
9 | let _ = offset!(+0a); |
| 37 |
| ^^ |
| 38 |
|
| 39 |
error: invalid component: minute was 0a |
| 40 |
--> tests/integration/compile-fail/invalid_offset.rs:10:24 |
| 41 |
| |
| 42 |
10 | let _ = offset!(+0:0a); |
| 43 |
| ^^ |
| 44 |
|
| 45 |
error: invalid component: second was 0a |
| 46 |
--> tests/integration/compile-fail/invalid_offset.rs:11:27 |
| 47 |
| |
| 48 |
11 | let _ = offset!(+0:00:0a); |
| 49 |
| ^^ |