type_has_one_possible_value takes comptime struct fields into account

Before, type_has_one_possible_value would return false for the value
`.{1}`. But actually, that type is a tuple with a single comptime field.
Such a type, in fact, has one possible value.

This plus the corresponding adjustment to get_the_one_possible_value
solves #3878.
e2dc63644aAndrew Kelley committed on 4/5/2020, 9:09:01 PMparent6ef15fc
2 files changedLine totals unavailable