Initializing every element of an array with a different distribution

Ok I managed to figure this out myself. I just drop the x from tr(x), and return x.

@model tr() = begin
    x = Array{Any,1}(missing,2)
    x[1]  ~ Normal()
    x[2] ~ Normal()
    return x
end

That seems to work.