chore: checkpoint before Python removal

This commit is contained in:
2026-03-26 22:33:59 +00:00
parent 683cec9307
commit e568ddf82a
29972 changed files with 11269302 additions and 2 deletions

View File

@@ -0,0 +1,28 @@
use time::macros::date;
fn main() {
let _ = date!(+1_000_000-01-01);
let _ = date!(10_000-01-01);
let _ = date!(2021-W 60-1);
let _ = date!(2021-W60-1);
let _ = date!(2021-W 01-0);
let _ = date!(2021-W01-0);
let _ = date!(2021-W 01-8);
let _ = date!(2021-W01-8);
let _ = date!(2021-00-01);
let _ = date!(2021-13-01);
let _ = date!(2021-01-00);
let _ = date!(2021-01-32);
let _ = date!(2021-000);
let _ = date!(2021-366);
let _ = date!(0a);
let _ = date!(2021:);
let _ = date!(2021-W 0a);
let _ = date!(2021-W0a);
let _ = date!(2021-W 01:);
let _ = date!(2021-W01:);
let _ = date!(2021-W 01-0a);
let _ = date!(2021-W01-0a);
let _ = date!(2021-0a);
let _ = date!(2021-01-0a);
}

View File

@@ -0,0 +1,143 @@
error: invalid component: year was 1000000
--> tests/integration/compile-fail/invalid_date.rs:4:19
|
4 | let _ = date!(+1_000_000-01-01);
| ^^^^^^^^^^
error: years with more than four digits must have an explicit sign
--> tests/integration/compile-fail/invalid_date.rs:5:19
|
5 | let _ = date!(10_000-01-01);
| ^^^^^^
error: invalid component: week was 60
--> tests/integration/compile-fail/invalid_date.rs:6:24
|
6 | let _ = date!(2021-W 60-1);
| ^^^^
error: invalid component: week was 60
--> tests/integration/compile-fail/invalid_date.rs:7:24
|
7 | let _ = date!(2021-W60-1);
| ^^^
error: invalid component: day was 0
--> tests/integration/compile-fail/invalid_date.rs:8:29
|
8 | let _ = date!(2021-W 01-0);
| ^
error: invalid component: day was 0
--> tests/integration/compile-fail/invalid_date.rs:9:28
|
9 | let _ = date!(2021-W01-0);
| ^
error: invalid component: day was 8
--> tests/integration/compile-fail/invalid_date.rs:10:29
|
10 | let _ = date!(2021-W 01-8);
| ^
error: invalid component: day was 8
--> tests/integration/compile-fail/invalid_date.rs:11:28
|
11 | let _ = date!(2021-W01-8);
| ^
error: invalid component: month was 0
--> tests/integration/compile-fail/invalid_date.rs:12:24
|
12 | let _ = date!(2021-00-01);
| ^^
error: invalid component: month was 13
--> tests/integration/compile-fail/invalid_date.rs:13:24
|
13 | let _ = date!(2021-13-01);
| ^^
error: invalid component: day was 0
--> tests/integration/compile-fail/invalid_date.rs:14:27
|
14 | let _ = date!(2021-01-00);
| ^^
error: invalid component: day was 32
--> tests/integration/compile-fail/invalid_date.rs:15:27
|
15 | let _ = date!(2021-01-32);
| ^^
error: invalid component: ordinal was 0
--> tests/integration/compile-fail/invalid_date.rs:16:24
|
16 | let _ = date!(2021-000);
| ^^^
error: invalid component: ordinal was 366
--> tests/integration/compile-fail/invalid_date.rs:17:24
|
17 | let _ = date!(2021-366);
| ^^^
error: invalid component: year was 0a
--> tests/integration/compile-fail/invalid_date.rs:18:19
|
18 | let _ = date!(0a);
| ^^
error: unexpected token: :
--> tests/integration/compile-fail/invalid_date.rs:19:23
|
19 | let _ = date!(2021:);
| ^
error: invalid component: week was 0a
--> tests/integration/compile-fail/invalid_date.rs:20:26
|
20 | let _ = date!(2021-W 0a);
| ^^
error: invalid component: week was 0a
--> tests/integration/compile-fail/invalid_date.rs:21:24
|
21 | let _ = date!(2021-W0a);
| ^^^
error: unexpected token: :
--> tests/integration/compile-fail/invalid_date.rs:22:28
|
22 | let _ = date!(2021-W 01:);
| ^
error: unexpected token: :
--> tests/integration/compile-fail/invalid_date.rs:23:27
|
23 | let _ = date!(2021-W01:);
| ^
error: invalid component: day was 0a
--> tests/integration/compile-fail/invalid_date.rs:24:29
|
24 | let _ = date!(2021-W 01-0a);
| ^^
error: invalid component: day was 0a
--> tests/integration/compile-fail/invalid_date.rs:25:28
|
25 | let _ = date!(2021-W01-0a);
| ^^
error: invalid component: month or ordinal was 0a
--> tests/integration/compile-fail/invalid_date.rs:26:24
|
26 | let _ = date!(2021-0a);
| ^^
error: invalid component: day was 0a
--> tests/integration/compile-fail/invalid_date.rs:27:27
|
27 | let _ = date!(2021-01-0a);
| ^^

View File

@@ -0,0 +1,8 @@
use time::macros::datetime;
fn main() {
let _ = datetime!(2021-000 0:00);
let _ = datetime!(2021-001 24:00);
let _ = datetime!(2021-001 0:00 0);
let _ = datetime!(2021-001 0:00 UTC x);
}

View File

@@ -0,0 +1,23 @@
error: invalid component: ordinal was 0
--> tests/integration/compile-fail/invalid_datetime.rs:4:28
|
4 | let _ = datetime!(2021-000 0:00);
| ^^^
error: invalid component: hour was 24
--> tests/integration/compile-fail/invalid_datetime.rs:5:32
|
5 | let _ = datetime!(2021-001 24:00);
| ^^
error: unexpected token: 0
--> tests/integration/compile-fail/invalid_datetime.rs:6:37
|
6 | let _ = datetime!(2021-001 0:00 0);
| ^
error: unexpected token: x
--> tests/integration/compile-fail/invalid_datetime.rs:7:41
|
7 | let _ = datetime!(2021-001 0:00 UTC x);
| ^

View File

@@ -0,0 +1,46 @@
use time::macros::format_description;
fn main() {
let _ = format_description!();
let _ = format_description!("[]");
let _ = format_description!("[foo]");
let _ = format_description!("[");
let _ = format_description!("[hour foo]");
let _ = format_description!("" x);
let _ = format_description!(x);
let _ = format_description!(0);
let _ = format_description!({});
let _ = format_description!("[ invalid ]");
let _ = format_description!("[");
let _ = format_description!("[ ");
let _ = format_description!("[]");
let _ = format_description!("[day sign:mandatory]");
let _ = format_description!("[day sign:]");
let _ = format_description!("[day :mandatory]");
let _ = format_description!("[day sign:mandatory");
let _ = format_description!("[day padding:invalid]");
let _ = format_description!(version);
let _ = format_description!(version "");
let _ = format_description!(version =);
let _ = format_description!(version = 0);
let _ = format_description!(version = 1);
let _ = format_description!(version = 3);
let _ = format_description!(version = two);
let _ = format_description!(version = 2, r"\a");
let _ = format_description!(version = 2, r"\");
let _ = format_description!(version = 2, "[year [month]]");
let _ = format_description!(version = 2, "[optional[]]");
let _ = format_description!(version = 2, "[first[]]");
let _ = format_description!(version = 2, "[optional []");
let _ = format_description!(version = 2, "[first []");
let _ = format_description!(version = 2, "[optional [");
let _ = format_description!(version = 2, "[optional [[year");
let _ = format_description!(version = 2, "[optional ");
let _ = format_description!("[ignore]");
let _ = format_description!("[ignore count:0]");
}

View File

@@ -0,0 +1,229 @@
error: expected string literal
--> tests/integration/compile-fail/invalid_format_description.rs:4:13
|
4 | let _ = format_description!();
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the macro `format_description` (in Nightly builds, run with -Z macro-backtrace for more info)
error: expected component name
--> tests/integration/compile-fail/invalid_format_description.rs:5:33
|
5 | let _ = format_description!("[]");
| ^^^^
error: invalid component
--> tests/integration/compile-fail/invalid_format_description.rs:6:33
|
6 | let _ = format_description!("[foo]");
| ^^^^^^^
error: expected component name
--> tests/integration/compile-fail/invalid_format_description.rs:7:33
|
7 | let _ = format_description!("[");
| ^^^
error: modifier must be of the form `key:value`
--> tests/integration/compile-fail/invalid_format_description.rs:8:33
|
8 | let _ = format_description!("[hour foo]");
| ^^^^^^^^^^^^
error: unexpected token: x
--> tests/integration/compile-fail/invalid_format_description.rs:9:36
|
9 | let _ = format_description!("" x);
| ^
error: expected string literal
--> tests/integration/compile-fail/invalid_format_description.rs:10:33
|
10 | let _ = format_description!(x);
| ^
error: expected string literal
--> tests/integration/compile-fail/invalid_format_description.rs:11:33
|
11 | let _ = format_description!(0);
| ^
error: expected string literal
--> tests/integration/compile-fail/invalid_format_description.rs:12:33
|
12 | let _ = format_description!({});
| ^^
error: invalid component
--> tests/integration/compile-fail/invalid_format_description.rs:14:33
|
14 | let _ = format_description!("[ invalid ]");
| ^^^^^^^^^^^^^
error: expected component name
--> tests/integration/compile-fail/invalid_format_description.rs:15:33
|
15 | let _ = format_description!("[");
| ^^^
error: expected component name
--> tests/integration/compile-fail/invalid_format_description.rs:16:33
|
16 | let _ = format_description!("[ ");
| ^^^^
error: expected component name
--> tests/integration/compile-fail/invalid_format_description.rs:17:33
|
17 | let _ = format_description!("[]");
| ^^^^
error: invalid modifier key
--> tests/integration/compile-fail/invalid_format_description.rs:18:33
|
18 | let _ = format_description!("[day sign:mandatory]");
| ^^^^^^^^^^^^^^^^^^^^^^
error: expected modifier value
--> tests/integration/compile-fail/invalid_format_description.rs:19:33
|
19 | let _ = format_description!("[day sign:]");
| ^^^^^^^^^^^^^
error: expected modifier key
--> tests/integration/compile-fail/invalid_format_description.rs:20:33
|
20 | let _ = format_description!("[day :mandatory]");
| ^^^^^^^^^^^^^^^^^^
error: unclosed bracket
--> tests/integration/compile-fail/invalid_format_description.rs:21:33
|
21 | let _ = format_description!("[day sign:mandatory");
| ^^^^^^^^^^^^^^^^^^^^^
error: invalid modifier value
--> tests/integration/compile-fail/invalid_format_description.rs:22:33
|
22 | let _ = format_description!("[day padding:invalid]");
| ^^^^^^^^^^^^^^^^^^^^^^^
error: expected `=`
--> tests/integration/compile-fail/invalid_format_description.rs:24:13
|
24 | let _ = format_description!(version);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the macro `format_description` (in Nightly builds, run with -Z macro-backtrace for more info)
error: expected `=`
--> tests/integration/compile-fail/invalid_format_description.rs:25:41
|
25 | let _ = format_description!(version "");
| ^^
error: expected 1 or 2
--> tests/integration/compile-fail/invalid_format_description.rs:26:13
|
26 | let _ = format_description!(version =);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the macro `format_description` (in Nightly builds, run with -Z macro-backtrace for more info)
error: invalid format description version
--> tests/integration/compile-fail/invalid_format_description.rs:27:43
|
27 | let _ = format_description!(version = 0);
| ^
error: unexpected end of input
--> tests/integration/compile-fail/invalid_format_description.rs:28:13
|
28 | let _ = format_description!(version = 1);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the macro `format_description` (in Nightly builds, run with -Z macro-backtrace for more info)
error: invalid format description version
--> tests/integration/compile-fail/invalid_format_description.rs:29:43
|
29 | let _ = format_description!(version = 3);
| ^
error: expected 1 or 2
--> tests/integration/compile-fail/invalid_format_description.rs:30:43
|
30 | let _ = format_description!(version = two);
| ^^^
error: invalid escape sequence
--> tests/integration/compile-fail/invalid_format_description.rs:32:46
|
32 | let _ = format_description!(version = 2, r"\a");
| ^^^^^
error: unexpected end of input
--> tests/integration/compile-fail/invalid_format_description.rs:33:46
|
33 | let _ = format_description!(version = 2, r"\");
| ^^^^
error: modifier must be of the form `key:value`
--> tests/integration/compile-fail/invalid_format_description.rs:35:46
|
35 | let _ = format_description!(version = 2, "[year [month]]");
| ^^^^^^^^^^^^^^^^
error: expected whitespace after `optional`
--> tests/integration/compile-fail/invalid_format_description.rs:36:46
|
36 | let _ = format_description!(version = 2, "[optional[]]");
| ^^^^^^^^^^^^^^
error: expected whitespace after `first`
--> tests/integration/compile-fail/invalid_format_description.rs:37:46
|
37 | let _ = format_description!(version = 2, "[first[]]");
| ^^^^^^^^^^^
error: unclosed bracket
--> tests/integration/compile-fail/invalid_format_description.rs:38:46
|
38 | let _ = format_description!(version = 2, "[optional []");
| ^^^^^^^^^^^^^^
error: unclosed bracket
--> tests/integration/compile-fail/invalid_format_description.rs:39:46
|
39 | let _ = format_description!(version = 2, "[first []");
| ^^^^^^^^^^^
error: unclosed bracket
--> tests/integration/compile-fail/invalid_format_description.rs:40:46
|
40 | let _ = format_description!(version = 2, "[optional [");
| ^^^^^^^^^^^^^
error: unclosed bracket
--> tests/integration/compile-fail/invalid_format_description.rs:41:46
|
41 | let _ = format_description!(version = 2, "[optional [[year");
| ^^^^^^^^^^^^^^^^^^
error: expected opening bracket
--> tests/integration/compile-fail/invalid_format_description.rs:42:46
|
42 | let _ = format_description!(version = 2, "[optional ");
| ^^^^^^^^^^^^
error: missing required modifier
--> tests/integration/compile-fail/invalid_format_description.rs:44:33
|
44 | let _ = format_description!("[ignore]");
| ^^^^^^^^^^
error: invalid modifier value
--> tests/integration/compile-fail/invalid_format_description.rs:45:33
|
45 | let _ = format_description!("[ignore count:0]");
| ^^^^^^^^^^^^^^^^^^

View File

@@ -0,0 +1,12 @@
use time::macros::offset;
fn main() {
let _ = offset!(+26);
let _ = offset!(+0:60);
let _ = offset!(+0:00:60);
let _ = offset!(0);
let _ = offset!();
let _ = offset!(+0a);
let _ = offset!(+0:0a);
let _ = offset!(+0:00:0a);
}

View File

@@ -0,0 +1,49 @@
error: invalid component: hour was 26
--> tests/integration/compile-fail/invalid_offset.rs:4:22
|
4 | let _ = offset!(+26);
| ^^
error: invalid component: minute was 60
--> tests/integration/compile-fail/invalid_offset.rs:5:24
|
5 | let _ = offset!(+0:60);
| ^^
error: invalid component: second was 60
--> tests/integration/compile-fail/invalid_offset.rs:6:27
|
6 | let _ = offset!(+0:00:60);
| ^^
error: unexpected token: 0
--> tests/integration/compile-fail/invalid_offset.rs:7:21
|
7 | let _ = offset!(0);
| ^
error: missing component: sign
--> tests/integration/compile-fail/invalid_offset.rs:8:13
|
8 | let _ = offset!();
| ^^^^^^^^^
|
= note: this error originates in the macro `offset` (in Nightly builds, run with -Z macro-backtrace for more info)
error: invalid component: hour was 0a
--> tests/integration/compile-fail/invalid_offset.rs:9:22
|
9 | let _ = offset!(+0a);
| ^^
error: invalid component: minute was 0a
--> tests/integration/compile-fail/invalid_offset.rs:10:24
|
10 | let _ = offset!(+0:0a);
| ^^
error: invalid component: second was 0a
--> tests/integration/compile-fail/invalid_offset.rs:11:27
|
11 | let _ = offset!(+0:00:0a);
| ^^

View File

@@ -0,0 +1,16 @@
use time::serde;
serde::format_description!(); // unexpected end of input
serde::format_description!("bad string", OffsetDateTime, "[year] [month]"); // module name is not ident
serde::format_description!(my_format: OffsetDateTime, "[year] [month]"); // not a comma
serde::format_description!(my_format,); // missing formattable and string
serde::format_description!(my_format, "[year] [month]"); // missing formattable
serde::format_description!(OffsetDateTime, "[year] [month]"); // missing ident
serde::format_description!(my_format, OffsetDateTime); // missing string format
serde::format_description!(my_format, OffsetDateTime,); // missing string format
serde::format_description!(my_format, OffsetDateTime "[year] [month]"); // missing comma
serde::format_description!(my_format, OffsetDateTime : "[year] [month]"); // not a comma
serde::format_description!(my_format, OffsetDateTime, "[bad]"); // bad component name
serde::format_description!(my_format, OffsetDateTime, not_string); // not in scope
fn main() {}

View File

@@ -0,0 +1,79 @@
error: unexpected end of input
--> tests/integration/compile-fail/invalid_serializer.rs:3:1
|
3 | serde::format_description!(); // unexpected end of input
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the macro `serde::format_description` (in Nightly builds, run with -Z macro-backtrace for more info)
error: unexpected token: "bad string"
--> tests/integration/compile-fail/invalid_serializer.rs:4:28
|
4 | serde::format_description!("bad string", OffsetDateTime, "[year] [month]"); // module name is not ident
| ^^^^^^^^^^^^
error: unexpected token: :
--> tests/integration/compile-fail/invalid_serializer.rs:5:37
|
5 | serde::format_description!(my_format: OffsetDateTime, "[year] [month]"); // not a comma
| ^
error: unexpected end of input
--> tests/integration/compile-fail/invalid_serializer.rs:6:1
|
6 | serde::format_description!(my_format,); // missing formattable and string
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the macro `serde::format_description` (in Nightly builds, run with -Z macro-backtrace for more info)
error: unexpected token: "[year] [month]"
--> tests/integration/compile-fail/invalid_serializer.rs:7:39
|
7 | serde::format_description!(my_format, "[year] [month]"); // missing formattable
| ^^^^^^^^^^^^^^^^
error: unexpected token: "[year] [month]"
--> tests/integration/compile-fail/invalid_serializer.rs:8:44
|
8 | serde::format_description!(OffsetDateTime, "[year] [month]"); // missing ident
| ^^^^^^^^^^^^^^^^
error: unexpected end of input
--> tests/integration/compile-fail/invalid_serializer.rs:9:1
|
9 | serde::format_description!(my_format, OffsetDateTime); // missing string format
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the macro `serde::format_description` (in Nightly builds, run with -Z macro-backtrace for more info)
error: unexpected end of input
--> tests/integration/compile-fail/invalid_serializer.rs:10:1
|
10 | serde::format_description!(my_format, OffsetDateTime,); // missing string format
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the macro `serde::format_description` (in Nightly builds, run with -Z macro-backtrace for more info)
error: unexpected token: "[year] [month]"
--> tests/integration/compile-fail/invalid_serializer.rs:11:54
|
11 | serde::format_description!(my_format, OffsetDateTime "[year] [month]"); // missing comma
| ^^^^^^^^^^^^^^^^
error: unexpected token: :
--> tests/integration/compile-fail/invalid_serializer.rs:12:54
|
12 | serde::format_description!(my_format, OffsetDateTime : "[year] [month]"); // not a comma
| ^
error: invalid component
--> tests/integration/compile-fail/invalid_serializer.rs:13:55
|
13 | serde::format_description!(my_format, OffsetDateTime, "[bad]"); // bad component name
| ^^^^^^^
error[E0425]: cannot find value `not_string` in this scope
--> tests/integration/compile-fail/invalid_serializer.rs:14:55
|
14 | serde::format_description!(my_format, OffsetDateTime, not_string); // not in scope
| ^^^^^^^^^^ not found in this scope

View File

@@ -0,0 +1,17 @@
use time::macros::time;
fn main() {
let _ = time!(24:00);
let _ = time!(0:60);
let _ = time!(0:00:60);
let _ = time!(x);
let _ = time!(0:00:00 x);
let _ = time!("");
let _ = time!(0:);
let _ = time!(0,);
let _ = time!(0:00:0a);
let _ = time!(0:00 pm);
let _ = time!(0);
let _ = time!(0 pm);
let _ = time!(1 am :);
}

View File

@@ -0,0 +1,81 @@
error: invalid component: hour was 24
--> tests/integration/compile-fail/invalid_time.rs:4:19
|
4 | let _ = time!(24:00);
| ^^
error: invalid component: minute was 60
--> tests/integration/compile-fail/invalid_time.rs:5:21
|
5 | let _ = time!(0:60);
| ^^
error: invalid component: second was 60
--> tests/integration/compile-fail/invalid_time.rs:6:24
|
6 | let _ = time!(0:00:60);
| ^^
error: unexpected token: x
--> tests/integration/compile-fail/invalid_time.rs:7:19
|
7 | let _ = time!(x);
| ^
error: unexpected token: x
--> tests/integration/compile-fail/invalid_time.rs:8:27
|
8 | let _ = time!(0:00:00 x);
| ^
error: invalid component: hour was ""
--> tests/integration/compile-fail/invalid_time.rs:9:19
|
9 | let _ = time!("");
| ^^
error: unexpected end of input
--> tests/integration/compile-fail/invalid_time.rs:10:13
|
10 | let _ = time!(0:);
| ^^^^^^^^^
|
= note: this error originates in the macro `time` (in Nightly builds, run with -Z macro-backtrace for more info)
error: unexpected token: ,
--> tests/integration/compile-fail/invalid_time.rs:11:20
|
11 | let _ = time!(0,);
| ^
error: invalid component: second was 0a
--> tests/integration/compile-fail/invalid_time.rs:12:24
|
12 | let _ = time!(0:00:0a);
| ^^
error: invalid component: hour was 0
--> tests/integration/compile-fail/invalid_time.rs:13:19
|
13 | let _ = time!(0:00 pm);
| ^^^^^^^
error: unexpected end of input
--> tests/integration/compile-fail/invalid_time.rs:14:13
|
14 | let _ = time!(0);
| ^^^^^^^^
|
= note: this error originates in the macro `time` (in Nightly builds, run with -Z macro-backtrace for more info)
error: invalid component: hour was 0
--> tests/integration/compile-fail/invalid_time.rs:15:19
|
15 | let _ = time!(0 pm);
| ^^^^
error: unexpected token: :
--> tests/integration/compile-fail/invalid_time.rs:16:24
|
16 | let _ = time!(1 am :);
| ^

View File

@@ -0,0 +1,9 @@
use time::macros::utc_datetime;
fn main() {
let _ = utc_datetime!(2021-000 0:00);
let _ = utc_datetime!(2021-001 24:00);
let _ = utc_datetime!(2021-001 0:00 0);
let _ = utc_datetime!(2021-001 0:00 UTC);
let _ = utc_datetime!(2021-001 0:00 UTC x);
}

View File

@@ -0,0 +1,29 @@
error: invalid component: ordinal was 0
--> tests/integration/compile-fail/invalid_utc_datetime.rs:4:32
|
4 | let _ = utc_datetime!(2021-000 0:00);
| ^^^
error: invalid component: hour was 24
--> tests/integration/compile-fail/invalid_utc_datetime.rs:5:36
|
5 | let _ = utc_datetime!(2021-001 24:00);
| ^^
error: unexpected token: 0
--> tests/integration/compile-fail/invalid_utc_datetime.rs:6:41
|
6 | let _ = utc_datetime!(2021-001 0:00 0);
| ^
error: unexpected token: UTC
--> tests/integration/compile-fail/invalid_utc_datetime.rs:7:41
|
7 | let _ = utc_datetime!(2021-001 0:00 UTC);
| ^^^
error: unexpected token: UTC
--> tests/integration/compile-fail/invalid_utc_datetime.rs:8:41
|
8 | let _ = utc_datetime!(2021-001 0:00 UTC x);
| ^^^