Variant.get!T fails if T is a locally declared struct with at least one method.
---
unittest {
struct S { auto i() { return 1; } }
Variant v = S();
S s = v.get!S;
}
---
Error: cannot access frame pointer of variant_get_bug.__unittestL3_1.S
If S is declared outside the unittest or contains no methods (fields are fine) it will not fail.