Skip to content

Commit 7306a99

Browse files
committed
get std.typecons to compile with PR #14364
1 parent 525ed52 commit 7306a99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

std/typecons.d

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1146,7 +1146,7 @@ if (distinctFieldNames!(Specs))
11461146
}
11471147

11481148
///
1149-
static if (Specs.length == 0) @safe unittest
1149+
static if (Specs.length == 0) @system unittest
11501150
{
11511151
//replace names by their position
11521152

@@ -1166,7 +1166,7 @@ if (distinctFieldNames!(Specs))
11661166
assert(t2Named.c == 3);
11671167
}
11681168

1169-
static if (Specs.length == 0) @safe unittest
1169+
static if (Specs.length == 0) @system unittest
11701170
{
11711171
//check that empty translations work fine
11721172
enum string[string] a0 = null;

0 commit comments

Comments
 (0)