From e77a499fa27aa30e20ea9e895b80fcde6bdd70d3 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Wed, 7 Mar 2018 06:52:35 +0100 Subject: [PATCH] Annotate typecons unittests --- source/tanya/typecons.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/tanya/typecons.d b/source/tanya/typecons.d index 66ee8c9..68cc589 100644 --- a/source/tanya/typecons.d +++ b/source/tanya/typecons.d @@ -92,7 +92,7 @@ template Pair(Specs...) } /// -unittest +@nogc nothrow pure @safe unittest { static assert(is(Pair!(int, int))); static assert(!is(Pair!(int, 5)));