As first step, don't use that Tuple, use std.typetuple.TypeTuple instead. It's the same, but using the standardized name helps readability.
Thanks for the correction. Tuple is indeed confusing with std.typecons.Tuple which is a struct tuple.
So here is the code again.
enum Bar;
class Foo {
@Bar int a;
}
void main()
{
import std.typetuple;
Foo foo = new Foo;
alias TypeTuple!(__traits(getAttributes, foo.a)) tp;
pragma(msg, tp);
}